Forum
Problems with Gallery app
I have set the gallery app up for my client and he is having the following issues of adding info to the images and them not saving (please see screen shots) ...
My client... I was trying to add a description and keywords under Apps > Gallery > Album as per below. Typing into the description and Tags boxes and pressing save didn’t work (I got the second screen shot below):
I have set this app up numerous times and never come across this and cannot see where the error is.
Denise
You need to find your PHP error log to see what the error is. You may need to ask the host the location.
If you need further help once you have the actual error post back - including your Diagnostic Report.
Ok. I am just locating the php log. Do I have to add some code to the config to get the diagnostics?
Your Diagnostic Report is under Settings in the Perch Admin, but we need the actual error from the error log as a priority
Php error log....
diagnostics....
Thank you for you time, Denise
I looks like you've got some whitespace outside of PHP tags in your
apps.php
file.this is my apps.php file. I've taken out some of whitespace but its still not working.
<?php $apps_list = array( 'content', 'categories', 'perch_gallery', 'perch_members', 'perch_shop_paypal', ); ?>
Are you still getting the same error, or has the error changed?
Yes. I just get a completely blank screen, my client gets the screenshot above.
If you're getting the same error, then the problem persists. Can you confirm there is nothing outside of the
<?php ?>
tags in yourapps.php
file? Not even a line break or a space?If so, please double check your file is saved with a UTF8 encoding with no BOM.
Yes I have double checked all that.
Not sure if this helps, but I have another site on perch with a gallery that works.
I switched the to the same apps.php file as my site the doesn't work and it still worked fine.
Also I wondered if I had incorrectly added some extra fields to the gallery image.html but I tried this on the working site and the all worked and saved fine too.
I am a bit stumped, hope you can help. Denise
And this is still the error you're getting?
Unfortunately the php error logs do not make too much sense to me.
Here's all todays relevant perch bits. the teamhybrid site was the one I was using to test if that helps.
[01-Apr-2015 12:47:04] PHP Fatal error: Call to a member function return_instance() on a non-object in /usr/local/home/httpd/vhtdocs/nickoakleyphotography.com/perch/core/lib/api/PerchAPI_Form.class.php on line 415 [01-Apr-2015 12:47:34] PHP Fatal error: Call to a member function return_instance() on a non-object in /usr/local/home/httpd/vhtdocs/nickoakleyphotography.com/perch/core/lib/api/PerchAPI_Form.class.php on line 415 [01-Apr-2015 12:53:04] PHP Fatal error: Call to a member function return_instance() on a non-object in /usr/local/home/httpd/vhtdocs/nickoakleyphotography.com/perch/core/lib/api/PerchAPI_Form.class.php on line 415 [01-Apr-2015 12:53:23] PHP Fatal error: Call to a member function return_instance() on a non-object in /usr/local/home/httpd/vhtdocs/nickoakleyphotography.com/perch/core/lib/api/PerchAPI_Form.class.php on line 415 [01-Apr-2015 12:55:07] PHP Fatal error: Call to a member function return_instance() on a non-object in /usr/local/home/httpd/vhtdocs/nickoakleyphotography.com/perch/core/lib/api/PerchAPI_Form.class.php on line 415 [01-Apr-2015 13:44:49] PHP Deprecated: Function eregi() is deprecated in /usr/local/home/httpd/vhtdocs/limohire/Quote/fcf2_process_form1.php on line 20 [01-Apr-2015 14:07:25] PHP Deprecated: Function eregi() is deprecated in /usr/local/home/httpd/vhtdocs/limohire/Quote/fcf2_process_form1.php on line 20 [01-Apr-2015 14:15:42] PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cache limiter - headers already sent (output started at /usr/local/home/httpd/vhtdocs/teamhybrid.co.uk/perch/config/apps.php:2) in /usr/local/home/httpd/vhtdocs/teamhybrid.co.uk/perch/core/lib/PerchSession.class.php on line 9 [01-Apr-2015 14:15:42] PHP Warning: Cannot modify header information - headers already sent by (output started at /usr/local/home/httpd/vhtdocs/teamhybrid.co.uk/perch/config/apps.php:2) in /usr/local/home/httpd/vhtdocs/teamhybrid.co.uk/perch/addons/apps/perch_gallery/upload.php on line 7 [01-Apr-2015 14:15:42] PHP Warning: Cannot modify header information - headers already sent by (output started at /usr/local/home/httpd/vhtdocs/teamhybrid.co.uk/perch/config/apps.php:2) in /usr/local/home/httpd/vhtdocs/teamhybrid.co.uk/perch/addons/apps/perch_gallery/upload.php on line 8 [01-Apr-2015 14:15:42] PHP Warning: Cannot modify header information - headers already sent by (output started at /usr/local/home/httpd/vhtdocs/teamhybrid.co.uk/perch/config/apps.php:2) in /usr/local/home/httpd/vhtdocs/teamhybrid.co.uk/perch/addons/apps/perch_gallery/upload.php on line 9 [01-Apr-2015 14:15:42] PHP Warning: Cannot modify header information - headers already sent by (output started at /usr/local/home/httpd/vhtdocs/teamhybrid.co.uk/perch/config/apps.php:2) in /usr/local/home/httpd/vhtdocs/teamhybrid.co.uk/perch/addons/apps/perch_gallery/upload.php on line 10 [01-Apr-2015 14:15:42] PHP Warning: Cannot modify header information - headers already sent by (output started at /usr/local/home/httpd/vhtdocs/teamhybrid.co.uk/perch/config/apps.php:2) in /usr/local/home/httpd/vhtdocs/teamhybrid.co.uk/perch/addons/apps/perch_gallery/upload.php on line 11 [01-Apr-2015 14:19:49] PHP Fatal error: Call to a member function return_instance() on a non-object in /usr/local/home/httpd/vhtdocs/nickoakleyphotography.com/perch/core/lib/api/PerchAPI_Form.class.php on line 415 [01-Apr-2015 14:26:28] PHP Fatal error: Call to a member function return_instance() on a non-object in /usr/local/home/httpd/vhtdocs/nickoakleyphotography.com/perch/core/lib/api/PerchAPI_Form.class.php on line 415 [01-Apr-2015 14:29:32] PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cache limiter - headers already sent (output started at /usr/local/home/httpd/vhtdocs/teamhybrid.co.uk/perch/config/apps.php:2) in /usr/local/home/httpd/vhtdocs/teamhybrid.co.uk/perch/core/lib/PerchSession.class.php on line 9 [01-Apr-2015 14:29:32] PHP Warning: Cannot modify header information - headers already sent by (output started at /usr/local/home/httpd/vhtdocs/teamhybrid.co.uk/perch/config/apps.php:2) in /usr/local/home/httpd/vhtdocs/teamhybrid.co.uk/perch/addons/apps/perch_gallery/upload.php on line 7 [01-Apr-2015 14:29:32] PHP Warning: Cannot modify header information - headers already sent by (output started at /usr/local/home/httpd/vhtdocs/teamhybrid.co.uk/perch/config/apps.php:2) in /usr/local/home/httpd/vhtdocs/teamhybrid.co.uk/perch/addons/apps/perch_gallery/upload.php on line 8 [01-Apr-2015 14:29:32] PHP Warning: Cannot modify header information - headers already sent by (output started at /usr/local/home/httpd/vhtdocs/teamhybrid.co.uk/perch/config/apps.php:2) in /usr/local/home/httpd/vhtdocs/teamhybrid.co.uk/perch/addons/apps/perch_gallery/upload.php on line 9 [01-Apr-2015 14:29:32] PHP Warning: Cannot modify header information - headers already sent by (output started at /usr/local/home/httpd/vhtdocs/teamhybrid.co.uk/perch/config/apps.php:2) in /usr/local/home/httpd/vhtdocs/teamhybrid.co.uk/perch/addons/apps/perch_gallery/upload.php on line 10 [01-Apr-2015 14:29:32] PHP Warning: Cannot modify header information - headers already sent by (output started at /usr/local/home/httpd/vhtdocs/teamhybrid.co.uk/perch/config/apps.php:2) in /usr/local/home/httpd/vhtdocs/teamhybrid.co.uk/perch/addons/apps/perch_gallery/upload.php on line 11
Are you sure you're running the latest versions of the apps? Most were updated for Perch 2.8 and earlier ones are not compatible.
I'll check my gallery app version. What essential folders do you need to copy over to upgrade? I don't want to loose any of the set up I have already done. Does the gallery app update from the assets panel yet? I know before you said this was coming in the next update.
It doesn't - it's basically just been patched to work with 2.8.