[Vtigercrm-developers] Guide in API for vtigercrm7

Pooja Beladiya pooja at vindaloovoip.com
Fri May 17 08:08:01 GMT 2019


Hello,

I am running the script from the command line.

Still getting a response like this :

PHP Fatal error:  Class 'Vtiger_PackageUpdate' not found in
/var/www/html/vtigercrm/vtlib/Vtiger/Package.php on line 16

Fatal error: Class 'Vtiger_PackageUpdate' not found in
/var/www/html/vtigercrm/vtlib/Vtiger/Package.php on line 16


On Thu, May 16, 2019 at 10:34 PM Alan Lord <alanslists at gmail.com> wrote:

> On 16/05/2019 13:31, Pooja Beladiya wrote:
> > When I use API for according to document for Export Package API and
> > enabled error log getting this error for version v7.
> >
> > PHP Deprecated:  Methods with the same name as their class will not be
> > constructors in a future version of PHP; Vtiger_Package has a deprecated
> > constructor in /var/www/html/vtigercrm7/vtlib/Vtiger/Package.php on line
> 16
>
> That's not really an error. It is only a message saying that a feature
> is deprecated and will be removed in a later release - it is not the
> problem.
>
> Try adding & ~E_DEPRECATED to your ini_set for error reporting and see
> if you get anything else. If you look at the top of config.inc.php
> you'll see some examples of error/warning types you can safely ignore.
>
> Questions you probably need to understand the answers too:
>
> * Are you running the script from the command line or from a web
> browser? (So you then know what the user process is)
>
> * Is the test/vtlib directory writeable by the same user as is running
> the script? (See above)
>
> * Enable debug logging in vtiger and then see what is generated in the
> logs/vtigercrm.log file when you run this script?
>
> HTH
>
>
> _______________________________________________
> http://www.vtiger.com/



-- 

*Regards,*
*Pooja Beladiya*
*(Senior Software Engineer)*


<http://www.vindaloovoip.com/>
Vindaloo VoIP Solutions Pvt. Ltd.
Website: www.vindaloovoip.com
Skype: info at vindaloovoip.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20190517/6c52ab96/attachment.html>


More information about the vtigercrm-developers mailing list