Themes page is blank
|
theplanetd
Joined: 2009-07-03
Posts: 12 |
Posted: Mon, 2009-10-26 01:21
|
|
I cannot seem to get my themes page to load. It is just a blank page. I need help asap as I am leaving the country (fast internet) soon. I want to edit my theme but can't. Thanks in advance, Dave Gallery version:2.3 |
|
| Login or register to post comments |

Posts: 17361
FAQ: I get only a blank screen when trying to view my Gallery, what's wrong?
Could also be a defective theme that has been added.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 12
It was working and then it stopped. Strange.Should I upload my theme again? I cant even switch themes to see what it could be. Any other suggestions??
Dave
Posts: 17361
FAQ: What information is required when I ask for help in the forums?
Enable debug mode:
FAQ: How to set/use Gallery in debug mode?
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 12
ok this is the error I get:
Notice: Constant SERVICES_JSON_SLICE already defined in /home4/domain/public_html/gallery2/lib/JSON/JSON.php on line 62
Notice: Constant SERVICES_JSON_IN_STR already defined in /home4/domain/public_html/gallery2/lib/JSON/JSON.php on line 67
Notice: Constant SERVICES_JSON_IN_ARR already defined in /home4/domain/public_html/gallery2/lib/JSON/JSON.php on line 72
Notice: Constant SERVICES_JSON_IN_OBJ already defined in /home4/domain/public_html/gallery2/lib/JSON/JSON.php on line 77
Notice: Constant SERVICES_JSON_IN_CMT already defined in /home4/domain/public_html/gallery2/lib/JSON/JSON.php on line 82
Notice: Constant SERVICES_JSON_LOOSE_TYPE already defined in /home4/domain/public_html/gallery2/lib/JSON/JSON.php on line 87
Notice: Constant SERVICES_JSON_SUPPRESS_ERRORS already defined in /home4/domain/public_html/gallery2/lib/JSON/JSON.php on line 92
Fatal error: Cannot redeclare class Services_JSON in /home4/domain/public_html/gallery2/lib/JSON/JSON.php on line 116
any ideas
Posts: 17361
The notices are fine but the fatal error is not.
FAQ: How can I make sure that my installation files are all intact?
Are you embedded in another application?
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 12
I am using wpg2 plugin for wordpress. Could this be a problem??
Dave
Posts: 17361
http://wordpress.org/support/topic/226941
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 12
So do i just put that code fix in on line 116?
What do I replace??
115class Services_JSON
116 {
/**
* constructs a new JSON instance
*
* @param int $use object behavior flags; combine with boolean-OR
*
* possible values:
* - SERVICES_JSON_LOOSE_TYPE: loose typing.
* "{...}" syntax creates associative arrays
* instead of objects in decode().
* - SERVICES_JSON_SUPPRESS_ERRORS: error suppression.
* Values which can't be encoded (e.g. resources)
* appear as NULL instead of throwing errors.
* By default, a deeply-nested resource will
* bubble up with an error, so all return values
* from encode() should be checked with isError()
*/
function Services_JSON($use = 0)
{
$this->use = $use;
}
Posts: 17361
I would think that the issue is in the wordpress plugin not with gallery.
Does gallery work standalone?
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 17361
http://www.google.ca/search?q=Fatal+error%3A+Cannot+redeclare+class+Services_JSON+wordpress&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a
Seems a lot of WP plugins could be the culprit.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 12
how do i check if it works as a standalone?
Posts: 17361
Just visit your gallery site without going though the WPG2 code.
What is the url to you gallery?
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 12
yes it works stand alone. What should I do now. I am a little new to all of this and really appreciate your help.
Dave
Posts: 17361
That tels me there is nothing wrong with Gallery.
Do all your administration in stand alone mode.
or
Find what module in your WP install is the culprit. and get the developer of that WP module to fix the issue.
Are all your WP modules up to date?
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team