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
PHP version :5.1.6
Database :MySql 5

Login or register to post comments
floridave
floridave's picture

Joined: 2003-12-22
Posts: 17361
Posted: Mon, 2009-10-26 01:33

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

Login or register to post comments
theplanetd

Joined: 2009-07-03
Posts: 12
Posted: Mon, 2009-10-26 02:42

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

Login or register to post comments
floridave
floridave's picture

Joined: 2003-12-22
Posts: 17361
Posted: Mon, 2009-10-26 03:00
Login or register to post comments
theplanetd

Joined: 2009-07-03
Posts: 12
Posted: Mon, 2009-10-26 03:11

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

Login or register to post comments
floridave
floridave's picture

Joined: 2003-12-22
Posts: 17361
Posted: Mon, 2009-10-26 03:20

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

Login or register to post comments
theplanetd

Joined: 2009-07-03
Posts: 12
Posted: Mon, 2009-10-26 03:22

I am using wpg2 plugin for wordpress. Could this be a problem??

Dave

Login or register to post comments
floridave
floridave's picture

Joined: 2003-12-22
Posts: 17361
Posted: Mon, 2009-10-26 03:29

http://wordpress.org/support/topic/226941

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

Login or register to post comments
theplanetd

Joined: 2009-07-03
Posts: 12
Posted: Mon, 2009-10-26 03:42

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;
}

Login or register to post comments
floridave
floridave's picture

Joined: 2003-12-22
Posts: 17361
Posted: Mon, 2009-10-26 03:48

I would think that the issue is in the wordpress plugin not with gallery.
Does gallery work standalone?

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

Login or register to post comments
floridave
floridave's picture

Joined: 2003-12-22
Posts: 17361
Posted: Mon, 2009-10-26 03:50
Login or register to post comments
theplanetd

Joined: 2009-07-03
Posts: 12
Posted: Mon, 2009-10-26 18:36

how do i check if it works as a standalone?

Login or register to post comments
floridave
floridave's picture

Joined: 2003-12-22
Posts: 17361
Posted: Tue, 2009-10-27 01:55

Just visit your gallery site without going though the WPG2 code.
What is the url to you gallery?

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

Login or register to post comments
theplanetd

Joined: 2009-07-03
Posts: 12
Posted: Tue, 2009-10-27 02:06

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

Login or register to post comments
floridave
floridave's picture

Joined: 2003-12-22
Posts: 17361
Posted: Tue, 2009-10-27 02:28
Quote:
yes it works stand alone.

That tels me there is nothing wrong with Gallery.

Quote:
What should I do now.

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

Login or register to post comments