Website goes blank!

Phoca PDF - creating PDF documents in Joomla! CMS
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Website goes blank!

Post by Jan »

The problem is how to change from preg_replace to str_replace :idea: :( for such types of strings :-( :
'/<a(.+)href="(.*)format=pdf(.*)"(.+)onclick="(.*)"/Ui

Jan
If you find Phoca extensions useful, please support the project
reesey
Phoca Newbie
Phoca Newbie
Posts: 9
Joined: 06 Nov 2009, 18:56

Re: Website goes blank!

Post by reesey »

I am not sure if this is similar to the above problems or not, but when I enable PhocaPDF plugin, my control panel on the backend goes blank. The pages linked from the control panel display fine, but not control panel. When I disable the plugin, everything displays correct. To the extent that I had tested the plugin on the frontend, all of the pages displayed fine. I wish I had a better understanding of PHP so that I could give you more information, but I believe this may be similar to the above problems.

For reference here is my system configuration:

PhocaPDF plugin version 1.0.4
PhocaPDF component version 1.0.2
Joomla! version 1.5.13
PHP version 5.2.6

I really liked what I was able to accomplish with PhocaPDF until I had the problem with the control panel. Let me know, and you may need to explain in extra detail, what you need me to do to help you debug and test a solution to this and I will be more than happy to help.

Reese
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Website goes blank!

Post by Jan »

Hi, try to enable debug mode in Joomla! and try to see error log where you can find which error caused the blank site. Or enable php error reporiting if you are able to do.

Jan
If you find Phoca extensions useful, please support the project
reesey
Phoca Newbie
Phoca Newbie
Posts: 9
Joined: 06 Nov 2009, 18:56

Re: Website goes blank!

Post by reesey »

Alright, I did the following and still no new information:
1. Updated Joomla! to 1.5.15
2. Enabled Joomla! debugging, but still get blank screen with no debug info.
3. Do not have access to the PHP configuration (or at least don't know where it is) on my live site; so, I built a test site where I have more control. When I install on my test site, I don't get the blank control panel like I do on the live site. Let me do some more debugging on my test site and I will see if I can find out what is causing the blank control panel. When I can pinpoint which installed module/component/plugin/whatever that is causing the problem I will post with more information.

Until then, this may be a ghost of a problem.

Reese
karban
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 13 Nov 2009, 04:10

Re: Website goes blank!

Post by karban »

Hello,
I am also having problems with Phoca PDF plugin causing white pages on my site (using latest version Phoca PDF, latest version of Joomla 1.5 15, latest php etc). It conflicts with the JV-LD link directory component I have installed (and possibly other pages or components are affected too, but as the site is live I've had to disable the plugin immediately upon finding the error with JV-LD). It looks like a really great product and is exactly what I need, so I am hoping that it can soon be fixed (when you have time).Thanks anyway for all the great products you develop Jan. Much appreciated.
Cheers, Karen.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Website goes blank!

Post by Jan »

Hi, if some other extensions renders an error before rendering the PDF, there is nothing to fix :-( the error needs to be eliminated in that extension. :-(

Jan
If you find Phoca extensions useful, please support the project
karban
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 13 Nov 2009, 04:10

Re: Website goes blank!

Post by karban »

Hello again,
I think you misunderstood my earlier post - the JV-LD Link Directory component is not the problem - it is working perfectly & has since installation some months ago, and is working perfectly even with a flash image carousel module on the same page & google translation module and anything else I've tried with it, without ANY problems whatsoever until installing phoca pdf.....So the problem is with the Phoca PDF plugin, not the JV-LD component. Like many other users posts in this forum, the problems for me begin only when phoca pdf is installed & plugin is activated... and goes away the moment phoca pdf plugin is deactivated. Also, my problem doesn't begin when I try to render a pdf as your reply suggests - I can't even see the page to do that! (incidentally, pdf creation worked fine using the normal joomla pdf - so the problem isn't anything to do with my site being unable to render pdfs, either.....) The page is white/blank when you visit it/click on the page menu the moment your plugin is activated. Therefore I think it is fair to say the problem, in my case at least, is your plugin .... which I think is conflicting with JV-LD or even something else on that particular page on my site & causing a white screen (.......which often means a php error for any newbies who may read these posts and wondering what is the cause....and which in my experience it has been due to a plugin causing the problem in 100% of cases). Thanks anyway, but I'll have to find something else or wait until the problem has been fixed. Regards Karen.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Website goes blank!

Post by Jan »

Hi, PDF is not like html. If there is some error and you render the html, then you mostly don't know that there is a problem as html is rendered without any problems. Phoca PDF has other features as standard PDF so there can be differencies in rendering. I don't know where the problem is and I don't know which code produces the problem. But mostly it is easy to get the answer. Enabling PHP error reporting or looking into error log which can display the problem.

Jan
If you find Phoca extensions useful, please support the project
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Website goes blank!

Post by Jan »

Hi, maybe there is some problem with time (fatal error because time or not enough memory), because in Joomla! there is no option to set the link to PDF, Phoca PDF tries to find the PDF link and tries to find to correct it. It uses preg_replace. I didn't get any problem with preg_replace and time (but before preg_replace preg_replace callback was used and some users had problem with it, but this should be fixed as the callback is not more used). So really no idea what can be wrong. Mostly blank page means some error and mostly such error should be displayed on screen (if error_reporting is on in php.ini) or this error should be displayed in error_log. If you know the error then you can make next steps :-( :-(
If you find Phoca extensions useful, please support the project
r_clinton
Phoca Member
Phoca Member
Posts: 20
Joined: 23 Mar 2009, 19:56

Re: Website goes blank!

Post by r_clinton »

Hi Jan -

I am experiencing the "Blank Page" issue as well. The cause is a conflict with the SuperFish menu module. Please let me know when a solution has been found.

Best regards,

Bob Clinton
Post Reply