<div dir="ltr">Hi,<div>Try to paste in the top of Your script this:</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">require_once('includes/main/WebUI.php');</blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">$user = new Users();</blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
$current_user = $user->retrieveCurrentUserInfoFromFile( "1" );</blockquote></blockquote><div><br></div><div>First line loads vtiger librarys, with this You shouldn't have problems with missing libraries.</div>
<div><br></div><div>Second one Im using to always have some user logged in, some vt functionalities checks permissions and if script doesnt load soem user (like admin = 1) then it return access restricted error. </div></div>
<div class="gmail_extra"><br clear="all"><div><div dir="ltr"><div style="color:rgb(136,136,136)"><b style="color:rgb(34,34,34)">Z poważaniem / <span style="font-size:10pt">Best regards</span></b><br></div><div style="color:rgb(136,136,136)">
<b style="color:rgb(34,34,34)"><span style="font-size:10pt"><br></span></b></div><div style="color:rgb(136,136,136)"><b>Maciej Stencel</b></div><div style="color:rgb(136,136,136)"><b>Tel: <a value="+48884998123" style="color:rgb(17,85,204)">+48 884-997-123</a></b></div>
<div style="color:rgb(136,136,136)"><b><a href="mailto:m.stencel@opensaas.pl" style="color:rgb(17,85,204)" target="_blank">m.stencel@opensaas.pl</a><br><font color="#888888"><span style="color:rgb(127,127,127)"></span></font><font color="#888888"><span style="color:rgb(127,127,127)"><a href="http://www.opensaas.pl/" style="color:rgb(17,85,204)" target="_blank">www.OpenSaaS.pl</a></span></font></b></div>
</div></div>
<br><br><div class="gmail_quote">2014-04-23 13:11 GMT+02:00 Alan Lord <span dir="ltr"><<a href="mailto:alanslists@gmail.com" target="_blank">alanslists@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 23/04/14 12:07, Alan Lord wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Settings_Vtiger_Module_Model::<u></u>getInstance('GeoTools_<u></u>CoreEditor');<br>
</blockquote></blockquote>
<br>
I should add that<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
$moduleModel = Settings_GeoTools_CoreEditor_<u></u>Model::getInstance();<br>
</blockquote>
<br>
doesn't work either and causes the same error.<div class="im HOEnZb"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
php -f modules/GeoTools/resources/<u></u>cron-test.php<br>
PHP Fatal error:  Class 'Vtiger_Base_Model' not found in<br>
.../modules/Settings/Vtiger/<u></u>models/Module.php on line 14<br>
</blockquote></blockquote>
<br>
</div><div class="HOEnZb"><div class="h5"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Cheers<br>
<br>
Al<br>
</blockquote>
<br>
<br>
<br>
______________________________<u></u>_________________<br>
<a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br>
</div></div></blockquote></div><br></div>