<div dir="ltr"><div dir="ltr"><div class="gmail_default"><font face="arial, helvetica, sans-serif">Hello,</font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif"><br></font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif">I am running the script from the command line.</font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif"><br></font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif">Still getting a response like this :<br></font><br><div class="gmail_default"><font face="arial, helvetica, sans-serif">PHP Fatal error: Class 'Vtiger_PackageUpdate' not found in /var/www/html/vtigercrm/vtlib/Vtiger/Package.php on line 16</font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif"><br></font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif">Fatal error: Class 'Vtiger_PackageUpdate' not found in /var/www/html/vtigercrm/vtlib/Vtiger/Package.php on line 16</font></div><div style="font-family:arial,helvetica,sans-serif"><br></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, May 16, 2019 at 10:34 PM Alan Lord <<a href="mailto:alanslists@gmail.com">alanslists@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 16/05/2019 13:31, Pooja Beladiya wrote:<br>
> When I use API for according to document for Export Package API and <br>
> enabled error log getting this error for version v7.<br>
> <br>
> PHP Deprecated: Methods with the same name as their class will not be <br>
> constructors in a future version of PHP; Vtiger_Package has a deprecated <br>
> constructor in /var/www/html/vtigercrm7/vtlib/Vtiger/Package.php on line 16<br>
<br>
That's not really an error. It is only a message saying that a feature <br>
is deprecated and will be removed in a later release - it is not the <br>
problem.<br>
<br>
Try adding & ~E_DEPRECATED to your ini_set for error reporting and see <br>
if you get anything else. If you look at the top of config.inc.php <br>
you'll see some examples of error/warning types you can safely ignore.<br>
<br>
Questions you probably need to understand the answers too:<br>
<br>
* Are you running the script from the command line or from a web <br>
browser? (So you then know what the user process is)<br>
<br>
* Is the test/vtlib directory writeable by the same user as is running <br>
the script? (See above)<br>
<br>
* Enable debug logging in vtiger and then see what is generated in the <br>
logs/vtigercrm.log file when you run this script?<br>
<br>
HTH<br>
<br>
<br>
_______________________________________________<br>
<a href="http://www.vtiger.com/" rel="noreferrer" target="_blank">http://www.vtiger.com/</a></blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div style="font-size:small"><b><span style="font-family:"courier new",monospace">Regards,</span><br></b></div><div style="font-size:small"><font size="2" style="font-family:"courier new",monospace"><b>Pooja Beladiya</b></font></div><div style="font-size:small"><font size="2" style="font-family:"courier new",monospace"><b>(Senior Software Engineer)</b></font></div><div style="font-size:small"><font size="2" style="font-family:"courier new",monospace"><b><br></b></font></div><div style="font-size:small"><font size="2" style="font-family:"courier new",monospace"><b><br></b></font></div><div style="font-size:small"><div style="color:rgb(136,136,136);font-size:12.8px"><font face="verdana, sans-serif" size="2"><a href="http://www.vindaloovoip.com/" style="color:rgb(17,85,204)" target="_blank"><img src="http://vindaloovoip.com/email_sign/sign.png"></a><br></font></div><div style="color:rgb(136,136,136);font-size:12.8px"><span style="font-family:verdana,sans-serif;font-size:small">Vindaloo VoIP Solutions Pvt. Ltd.</span><br></div><div style="color:rgb(136,136,136);font-size:12.8px"><span style="font-family:verdana,sans-serif;font-size:small">Website: </span><a href="http://www.vindaloovoip.com/" style="color:rgb(17,85,204)" target="_blank">www.vindaloovoip.com</a><br></div><div style="color:rgb(136,136,136);font-size:12.8px"><font face="verdana, sans-serif" size="2">Skype: <a href="mailto:info@vindaloovoip.com" style="color:rgb(17,85,204)" target="_blank">info@vindaloovoip.com</a></font></div></div></div></div></div></div></div></div></div></div>