Page 1 of 1

Error on file with path like 'administratorDScomponentDS...'

Posted: 30 Oct 2013, 19:38
by oorzaak
Hi,

I have troubles with PhocaPDF 2.0.7 on a J.3.1 site. In the back end, I cannot view the component anymore: when I try to open it's back end menu items a blank page is returned. When engaging the content plugin, the front end turns blank as well (apart from the page title which is shown without styling).

Now I thought that I should try the PhocaPDF 3.0.0 beta and test it on a copy of the site before installing it on the live site. In the back end of the test site I can view the panels corrctly now. But in the front end I get some php error messages, starting with one like this:
Warning: include_once(/home/dev07/domains/oorzaak-develop07.nl/public_html/administratorDScomponentsDScom_phocapdfDShelpersDSphocapdf.php) [function.include-once]: failed to open stream: No such file or directory in /home/dev07/domains/oorzaak-develop07.nl/public_html/templates/Introtools/html/com_content/article/default.php on line 87
I suppose the problem is in the 'DS' string which should be replaced by a '/'. Also, I suppose that the following error message, which states "Class 'PhocaPDFHelper' not found" will be solved once the first issue is solved.

I hope you can help me with this issue.

Kind regards,
Frits

Re: Error on file with path like 'administratorDScomponentDS

Posted: 02 Nov 2013, 18:31
by Jan
Hi, did you install right version of plugin under Joomla! 3. In the system plugin there is no more DS, in the content plugin, there is no link to pdf helper.

Did you install Phoca PDF 3 and Phoca PDF Content Plugin 3?

Do you get the problem with standard template?



Jan

Re: Error on file with path like 'administratorDScomponentDS

Posted: 04 Nov 2013, 19:21
by oorzaak
Hi Jan,

Yes, I'm using version 3.0.0 of Phoca PDF.

I switched to Protostar template and the error was gone.

Could you please tell me how I should adjust my custom made template in to have Phoca PDF working on the template as well?


Kind regards,
Frits

Re: Error on file with path like 'administratorDScomponentDS

Posted: 04 Nov 2013, 20:37
by Jan

Re: Error on file with path like 'administratorDScomponentDS

Posted: 04 Nov 2013, 22:07
by oorzaak
Hi Jan,

It's all my bad, well, most of it...

I already inserted the code in a template override some time ago, and at that time the code did contain some 'DS' strings instead of a simple '/' slash. I made this override while the site was in J.3.1.0 or something like that. It was only after upgrading both Joomla and Phoca PDF that the issue occurred but by that time I forgot about the override and it took some time to come back to mind.

After changing the 'DS' strings to '/' it is all ok now.

I do have another question though but I'll make a new topic for it.


Kind regards & thanks for your help,

Frits

Re: Error on file with path like 'administratorDScomponentDS

Posted: 05 Nov 2013, 19:59
by Jan
Ok