Hi Jan,
[code]Warning: ps_delivery::require_once(/var/www/html/components/com_virtuemart/pdf/delivery.pdf.php) [function.ps-delivery-require-once]: failed to open stream: No such file or directory in /var/www/html/administrator/components/com_virtuemart/classes/ps_delivery.php on line 347
Fatal error: ps_delivery::require_once() [function.require]: Failed opening required '/var/www/html/components/com_virtuemart/pdf/delivery.pdf.php' (include_path='.:/php/includes:/usr/share/php') in /var/www/html/administrator/components/com_virtuemart/classes/ps_delivery.php on line 347
[/code]
Is what I get when I click administration from the frontend and make delivery pdf or invoice. I am logged in as superadmin from the frontend. From the backend everything works perfectly.
Using vm 1.1.2 and joomla 1.5.6 any idea how I can fix this?
warning and fatal error
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: warning and fatal error
Hi, this addon works in admin only (joomla1.5) but try to change:
FROM:
require_once( JPATH_COMPONENT.DS.'pdf'.DS.'delivery.pdf.php' );
TO
require_once( JPATH_ADMINISTRATOR.DS .'components'.DS.'com_virtuemart'.DS.'pdf'.DS.'delivery.pdf.php' );
on line 347 in:
administrator/components/com_virtuemart/classes/ps_delivery.php
Jan
FROM:
require_once( JPATH_COMPONENT.DS.'pdf'.DS.'delivery.pdf.php' );
TO
require_once( JPATH_ADMINISTRATOR.DS .'components'.DS.'com_virtuemart'.DS.'pdf'.DS.'delivery.pdf.php' );
on line 347 in:
administrator/components/com_virtuemart/classes/ps_delivery.php
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 7
- Joined: 21 Apr 2008, 00:12
Re: warning and fatal error
thx Jan,
however i get this now:
however i get this now:
Code: Select all
Warning: require_once(/var/www/html/components/com_virtuemart/pdf/phoca.tcpdf.php) [function.require-once]: failed to open stream: No such file or directory in /var/www/html/administrator/components/com_virtuemart/pdf/delivery.pdf.php on line 12
Fatal error: require_once() [function.require]: Failed opening required '/var/www/html/components/com_virtuemart/pdf/phoca.tcpdf.php' (include_path='.:/php/includes:/usr/share/php') in /var/www/html/administrator/components/com_virtuemart/pdf/delivery.pdf.php on line 1
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: warning and fatal error
so try to change the code here too:
FROM:
... JPATH_COMPONENT.DS. ....
to
... JPATH_ADMINISTRATOR.DS .'components'.DS.'com_virtuemart'. ...
Jan
FROM:
... JPATH_COMPONENT.DS. ....
to
... JPATH_ADMINISTRATOR.DS .'components'.DS.'com_virtuemart'. ...
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 2
- Joined: 11 Aug 2009, 16:39
Re: warning and fatal error
Hi,
sorry, I look after an answer of my problem in the whole forum. Couldn't find anything...
I have this error too but in backend:
Warning: require_once(/www/htdocs/w...0/page/administrator/components/com_virtuemart/pdf/delivery.pdf.php) [function.require-once]: failed to open stream: No such file or directory in /www/htdocs/w...0/page/administrator/components/com_virtuemart/classes/ps_delivery.php on line 347
Fatal error: require_once() [function.require]: Failed opening required '/www/htdocs/w...0/page/administrator/components/com_virtuemart/pdf/delivery.pdf.php' (include_path='.:/usr/share/php:..') in /www/htdocs/w...0/page/administrator/components/com_virtuemart/classes/ps_delivery.php on line 347
I did the changes you posted before but nothing changed.
I use J1.5.12 and VM1.1.13...
Hope s.o. can help me...
Thanks
sorry, I look after an answer of my problem in the whole forum. Couldn't find anything...
I have this error too but in backend:
Warning: require_once(/www/htdocs/w...0/page/administrator/components/com_virtuemart/pdf/delivery.pdf.php) [function.require-once]: failed to open stream: No such file or directory in /www/htdocs/w...0/page/administrator/components/com_virtuemart/classes/ps_delivery.php on line 347
Fatal error: require_once() [function.require]: Failed opening required '/www/htdocs/w...0/page/administrator/components/com_virtuemart/pdf/delivery.pdf.php' (include_path='.:/usr/share/php:..') in /www/htdocs/w...0/page/administrator/components/com_virtuemart/classes/ps_delivery.php on line 347
I did the changes you posted before but nothing changed.
I use J1.5.12 and VM1.1.13...
Hope s.o. can help me...
Thanks
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: warning and fatal error
Did you check if the files are on the server and if they can be accessed?
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 2
- Joined: 11 Aug 2009, 16:39
Re: warning and fatal error
Hi,
thank you for responding.
Sorry, was my fault. I took the files in the existing folder "pdf" under classes, didn't see, that the "pdf"-folder of the pdf-tool had to be created on another position one step back.
Works fine, Special thanks. Phoca rules... ;o)
thank you for responding.
Sorry, was my fault. I took the files in the existing folder "pdf" under classes, didn't see, that the "pdf"-folder of the pdf-tool had to be created on another position one step back.
Works fine, Special thanks. Phoca rules... ;o)
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact: