Page 1 of 1
Problem: Template with many Link's
Posted: 30 Jun 2009, 15:02
by Wowa
Hello all,
I've searched pretty long to find the error in my Template.
Now I found it, but I don't really understand it.
I've placed an SideCloud (with own html in an mod_custom module), with many links.
If I remove most of the links all works fine, but with over 20 links I only get a white page with active phocapdf plugin.
Does anybody know a workaround or any solution?
I'm currently placed the links in an IFrame, but this is not really an solution, because no searchmaschine will recognize it correctly.
My deepest apologize for my bad english.
Greets,
Wowa
Re: Problem: Template with many Link's
Posted: 30 Jun 2009, 21:27
by Jan
Hi, as Phoca PDF try to search all links to PDF and try to rename them so the Phoca PDF document will be displayed not standard PDF document, maybe there is no time for rename them all in your server (should be not problem if there are e.g. 20 links, but maybe
). Try to see your error log (or try to enable error reporting in php.ini if you are able to do)
Jan
Re: Problem: Template with many Link's
Posted: 23 Jul 2009, 17:35
by Wowa
Hello again, sorry for the long break.
now i have checked the error-log, but i don't really understand the problem.
Code: Select all
PHP Warning: realpath(): Unable to access /srv/www/vhosts/~~~~~~~/httpdocs/Joomla/administrator/components/com_content/tables/content.php in /srv/www/vhosts/~~~~~~~/httpdocs/Joomla/libraries/joomla/filesystem/path.php on line 248
PHP Warning: realpath(): Unable to access /srv/www/vhosts/~~~~~~~/httpdocs/Joomla/templates/TEMPLATNAME/html/com_content/article/ in /srv/www/vhosts/~~~~~~~/httpdocs/Joomla/libraries/joomla/filesystem/path.php on line 247
PHP Warning: realpath(): Unable to access /srv/www/vhosts/~~~~~~~/httpdocs/Joomla/templates/TEMPLATNAME/html/com_content/article//default.php in /srv/www/vhosts/~~~~~~~/httpdocs/Joomla/libraries/joomla/filesystem/path.php on line 248
[23-Jul-2009 17:41:10] PHP Notice: Undefined property: JSite::$_head in /srv/www/vhosts/~~~~~~~/httpdocs/Joomla/templates/TEMPLATNAME/index.php on line 188
why is it searching in the template_path for com components?
does somebody know this problem?
why does this problem only appear with to many links?
i hope somebody can help me.
Thanks
Re: Problem: Template with many Link's
Posted: 19 Aug 2009, 10:14
by Jan
Hi, these errors are not related to Phoca PDF but they can take effect on PDF creating. Maybe. But maybe you if you use a lot of links, it can related to restriction wit preg replace call back, see:
viewtopic.php?f=37&t=5194&p=24254#p24254
I will do some test there and will see, if the ereg_replace will work better and if it will have all features Phoca PDF needs
Jan
Re: Problem: Template with many Link's
Posted: 03 Sep 2009, 10:42
by bullet
first of all thnx Jan for the great work. Keep that up.
I was wondering about the links, too.
I have phoca pdf up-n-running on several sites j v1.5.x with php 5.2.10. Now on one site I had the issue with links (only two!!!) and once removed in the article pdf creation was fine. On another site I didn't have this issue, but it seamed to me that pdf was not created by phoca pdf but via joomla standard pdf ...
I am confused - any thoughts?
Re: Problem: Template with many Link's
Posted: 04 Sep 2009, 21:16
by Jan
Hi, check if the plugin is enabled, check the links too, maybe Phoca PDF cannot find it and cannot overwrite the standard link
Jan