close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

manage galleries not working!

Thread began 5/19/2011 11:15 am by msummers194171 | Last modified 10/14/2011 1:25 pm by Jason Byrnes | 4827 views | 15 replies |

msummers194171

manage galleries not working!

My PS4.01 store has several galleries that are used on product pages. Of these only one was entered by me (the other two were set up by the client). Up until that time, my gallery was working and displaying well. Now, when I go into the store manager, and bring up the galleries page, I can see the gallery names listed there, but when I try to Edit This Gallery, I get a blank page, and this is true for ALL the galleries. The page link is like this -

managegallery.php?name=the-gallery-name

and the page that loads is completely blank, with an empty view source (obviously a coding error on the page). I'm sure that this was once working, but no longer.

Where should I start investigating what's happening here?

Sign in to reply to this post

Jason ByrnesWebAssist

on the managegallery.php page add the following code at line 1 to turn on error reporting:

php:
<?php

error_reporting
(E_ALL);
ini_set('display_errors','on');
?>
Sign in to reply to this post

msummers194171

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home2/harveyhu/public_html/shop/admin/managegallery.php:5) in /home2/harveyhu/public_html/shop/WA_SecurityAssist/Helper_PHP.php on line 5

Sign in to reply to this post

Jason ByrnesWebAssist

see this post for details on the headers already sent error.

showthread.php?t=19285


when you look at the link for the gallery, what is the name of the gallery in the link? Does the gallery name contain special characters? This may the cause of the issue, if so, you may need to edit the gallery name in the database.

Sign in to reply to this post

msummers194171

Jason - I don't see anything obvious there. Line 5 in Helper_PHP.php is at the beginning of a large code block, so I'm pretty sure that's not it. Here's lines 3, 4, 5, and 6 -

<?php
if (!isset($_SESSION)) {
session_start();
}

The gallery names are pretty vanilla - words and spaces is all.

Sign in to reply to this post

Jason ByrnesWebAssist

the key to the error message is:
output started at /home2/harveyhu/public_html/shop/admin/managegallery.php:5


it is saying that the output causing the issue is around line 5 of the managegallery.php poage.


most likely it was caused by adding the error reporting code and leaving a trailing space after the closing php tag:
"?> "

on line 4.

this is illustrated in the second screen shot of the post I linked to.

Sign in to reply to this post

msummers194171

Dang - you're right.

OK - I have removed that trailing space. Now I'm back to the completely blank page, although the error reporting block is still on the page (now minus the nasty trailing space).

Sign in to reply to this post

Jason ByrnesWebAssist

from message 4:


when you look at the link for the gallery, what is the name of the gallery in the link? Does the gallery name contain special characters? This may the cause of the issue, if so, you may need to edit the gallery name in the database.

Sign in to reply to this post

msummers194171

Nope - all galleries contain only letters and spaces. No special characters.

What's puzzling is that it *DID* work, obviously because the first gallery has 20 images in it. The next two galleries have 0 images each. Could that be a problem?

Sign in to reply to this post

Jason ByrnesWebAssist

I have created a support ticket so we can look into this issue further.

To view and edit your support ticket, please log into your support history:
supporthistory.php

If anyone else is experiencing this same issue, please append to this thread.

Sign in to reply to this post
loading

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...