Joomla! 5.2.4 Stable [ Uthabiti ] 18-February-2025 16:00 GMT
Phoca Gallery 5.0.3
PhocaGallery>> List of Images (category view)
Created a front End menu link to display all Categories ( I have 4 Categories ) which works find. When I now klick the link to display the pictures in the categories (List of Images (category view)) - 2 of them work fine (both have less than 50 pictures) and for the other 2 I get a white screen (one Category has 62 entries and the other 210).
In the Backend / Administrator I can show and filter on all categories without any problem.
Is there a limit or a timeout that prevents those categories view to be displayed?
Thanks for your help Alfred
White Screen display Category
- Benno
- Phoca Hero
- Posts: 9795
- Joined: 04 Dec 2008, 11:58
- Location: Germany
- Contact:
Re: White Screen display Category
Hi,
see: https://www.phoca.cz/documentation/86- ... rs-on-site
to get an error message.
Kind regards,
Benno
see: https://www.phoca.cz/documentation/86- ... rs-on-site
to get an error message.
Kind regards,
Benno
-
- Phoca Member
- Posts: 47
- Joined: 06 Nov 2023, 08:39
Re: White Screen display Category
Hi Benno, I have asked the hosting provider for support as turning on PHP debug does not show any error messages.
- Jan
- Phoca Hero
- Posts: 48866
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: White Screen display Category
Hi,
did you enable the debug mode in Joomla Global configuration too? And displaying errors in the same place?
Jan
did you enable the debug mode in Joomla Global configuration too? And displaying errors in the same place?
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Hero
- Posts: 2913
- Joined: 28 Nov 2010, 17:20
Re: White Screen display Category
Hi Alfred,
in addition:
Would be useful, to get the complete Call Stack.
Note that the top line is not necessarily the cause of the error, nor is it necessarily the code location that needs to be corrected.
Often, the lines below will indicate an extension that caused the error, e.g. by sending an incorrectly worded request.
Code:
public $error_reporting = 'maximum';
public $debug = 1;
Sometimes it can be useful that you temporarily rename the error.php file in the template folder, if it exists, to e.g. errorxxxxxx.php. This will ensure that Joomla's error page is used.
Kind regards
Christine
in addition:
Would be useful, to get the complete Call Stack.
Note that the top line is not necessarily the cause of the error, nor is it necessarily the code location that needs to be corrected.
Often, the lines below will indicate an extension that caused the error, e.g. by sending an incorrectly worded request.
Code:
public $error_reporting = 'maximum';
public $debug = 1;
Sometimes it can be useful that you temporarily rename the error.php file in the template folder, if it exists, to e.g. errorxxxxxx.php. This will ensure that Joomla's error page is used.
Kind regards
Christine
-
- Phoca Member
- Posts: 47
- Joined: 06 Nov 2023, 08:39
Re: White Screen display Category
Hi yes I tried to enable error reporting but run into other problems as the PHP max_memory was too small with 128MB. My hosting provider increased the memory to 256MB. Now at least my Administrator Panel does not crash but still the FE debug session which causes the blank page crashes:
Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 262144 bytes) in /var/www/hst4051/htdocs/Joomla/libraries/vendor/joomla/database/src/DatabaseQuery.php on line 321
Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 262144 bytes) in Unknown on line 0
Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 262144 bytes) in Unknown on line 0
Warning: PHP Request Shutdown: Cannot call session save handler in a recursive manner in Unknown on line 0
In the moment I am as well in contact with our hosting provider. But any Idea in the meantime is highly welcome.
Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 262144 bytes) in /var/www/hst4051/htdocs/Joomla/libraries/vendor/joomla/database/src/DatabaseQuery.php on line 321
Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 262144 bytes) in Unknown on line 0
Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 262144 bytes) in Unknown on line 0
Warning: PHP Request Shutdown: Cannot call session save handler in a recursive manner in Unknown on line 0
In the moment I am as well in contact with our hosting provider. But any Idea in the meantime is highly welcome.
-
- Phoca Member
- Posts: 47
- Joined: 06 Nov 2023, 08:39
Re: White Screen display Category
Hi we have now set the PHP MemoryLimit even to 512 and I still get the Fatal error:
Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 20480 bytes) in /var/www/hst4051/htdocs/Joomla/libraries/vendor/joomla/database/src/Monitor/DebugMonitor.php on line 79
Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 32768 bytes) in /var/www/hst4051/htdocs/Joomla/libraries/vendor/symfony/error-handler/Error/OutOfMemoryError.php on line 1
Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 20480 bytes) in /var/www/hst4051/htdocs/Joomla/libraries/vendor/joomla/database/src/Mysqli/MysqliStatement.php on line 420
any other option to get the stack then Joomla system debug on?
Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 20480 bytes) in /var/www/hst4051/htdocs/Joomla/libraries/vendor/joomla/database/src/Monitor/DebugMonitor.php on line 79
Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 32768 bytes) in /var/www/hst4051/htdocs/Joomla/libraries/vendor/symfony/error-handler/Error/OutOfMemoryError.php on line 1
Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 20480 bytes) in /var/www/hst4051/htdocs/Joomla/libraries/vendor/joomla/database/src/Mysqli/MysqliStatement.php on line 420
any other option to get the stack then Joomla system debug on?
-
- Phoca Member
- Posts: 47
- Joined: 06 Nov 2023, 08:39
Re: White Screen display Category
Hi it seems I got one step ahead. I found one Picture that when it's unpublished it works. As soon as I publish the picture the problem occurred.
It seems that if you have 2 category entries pointing to the same folder/physical picture.
But I am still unable to debug and get the call stack due to the above Fatal error's.
It seems that if you have 2 category entries pointing to the same folder/physical picture.
But I am still unable to debug and get the call stack due to the above Fatal error's.
-
- Phoca Member
- Posts: 47
- Joined: 06 Nov 2023, 08:39
Re: White Screen display Category
Hi I further analyzed the issue and found in once Category a png object that caused the blank screen. After hiding that object the display function worked.
But I have another category with more the 250 pictures where I have the same issue. In this case it's not so simple to identify the root cause.
Continue to investigate..
But I have another category with more the 250 pictures where I have the same issue. In this case it's not so simple to identify the root cause.
Continue to investigate..
-
- Phoca Member
- Posts: 47
- Joined: 06 Nov 2023, 08:39
Re: White Screen display Category
Hi you can close this issue as solved;
TO help others diagnose similar issues - best is to hide all images / objects as a first step.
Next publish groups of 5, 10 or x whatever you are comfortable until the image can be identified which cause the issue.
Then delete the image entry as well as the image and restore it again from a backup.
Hope this helps ! Alfred
TO help others diagnose similar issues - best is to hide all images / objects as a first step.
Next publish groups of 5, 10 or x whatever you are comfortable until the image can be identified which cause the issue.
Then delete the image entry as well as the image and restore it again from a backup.
Hope this helps ! Alfred