404 Error with Phoca PDF
Posted: 08 Jul 2010, 16:23
Thanks for you help resolving this issue.
I installed restaurant menu and pdf and pdf plug in following directions on your site.
All seems to be installed well:
When I click on the pdf icon, I receive a 404 error.
Other, possibly useful information:
Example Appetizers: URL is http://top-shelf.biz/top-shelf-appetizers.html -- When I select the pdf icon, the URL is http://top-shelf.biz/top-shelf-appetize ... t.phocapdf.
I noticed this is different than what happens on your demo site:
Example Daily Menu: URL is https://www.phoca.cz/restaurantmenudemo/en/daily-menu -- When I select the pdf icon, the URL is https://www.phoca.cz/restaurantmenudemo/ ... t=phocapdf.
SO I went back to my site (top-shelf.biz) and after selecting the phoca pdf icon and getting the 404 error, I replaced "component.phocapdf" with "component?format=phocapdf" in the address bar. ("http://top-shelf.biz/top-shelf-appetize ... t.phocapdf" became "http://top-shelf.biz/top-shelf-appetize ... t=phocapdf").
I got this error:
I installed restaurant menu and pdf and pdf plug in following directions on your site.
All seems to be installed well:
- Phoca menu is working
Phoca PDF component is installed. Version 1.0.5.
I click on Plugins in PhocoPDF Control Panel and see Restaurant Menu. Green checkmark indicates "Plugin is enabled in Plugin Manager".
When I click on the pdf icon, I receive a 404 error.
Other, possibly useful information:
Example Appetizers: URL is http://top-shelf.biz/top-shelf-appetizers.html -- When I select the pdf icon, the URL is http://top-shelf.biz/top-shelf-appetize ... t.phocapdf.
I noticed this is different than what happens on your demo site:
Example Daily Menu: URL is https://www.phoca.cz/restaurantmenudemo/en/daily-menu -- When I select the pdf icon, the URL is https://www.phoca.cz/restaurantmenudemo/ ... t=phocapdf.
SO I went back to my site (top-shelf.biz) and after selecting the phoca pdf icon and getting the 404 error, I replaced "component.phocapdf" with "component?format=phocapdf" in the address bar. ("http://top-shelf.biz/top-shelf-appetize ... t.phocapdf" became "http://top-shelf.biz/top-shelf-appetize ... t=phocapdf").
I got this error:
I hope this helps you to help me.Warning: preg_replace_callback() [function.preg-replace-callback]: Requires argument 2, 'phocaPDFREstaurantCallbackImage::phocaPDFCallbackImage', to be a valid callback in /homepages/12/d99393920/htdocs/top-shelf/plugins/phocapdf/restaurantmenu.php on line 122
Warning: Cannot modify header information - headers already sent by (output started at /homepages/12/d99393920/htdocs/top-shelf/plugins/phocapdf/restaurantmenu.php:122) in /homepages/12/d99393920/htdocs/top-shelf/administrator/components/com_phocapdf/assets/tcpdf/tcpdf.php on line 5493
TCPDF ERROR: Some data has already been output to browser, can't send PDF file