[Resolved] g1data Bad Request Error 400

xinca
xinca's picture

Joined: 2002-09-28
Posts: 86
Posted: Thu, 2008-10-02 08:25

Out of a sudden my gallery stops showing any photo from the photo folder /g1data/. On access to the g1data folder it gives the Error 400.

The error log give these:

Quote:
..
[02-okt-2008 02:41:38] PHP Fatal error: Call to undefined function isxssclean() in /home/xxx/shop/g1/classes/Album.php on line 914
[02-Oct-2008 02:42:14] PHP Fatal error: Call to undefined function isxssclean() in /home/xxx/shop/g1/classes/Album.php on line 914
[02-Oct-2008 02:43:23] PHP Fatal error: Cannot redeclare testrequirement() (previously declared in /home/xxx/shop/g1/util.php:1330) in /home/xxx/shop/g1/lib/album.php on line 387
[02-Oct-2008 02:44:04] PHP Fatal error: Cannot redeclare testrequirement() (previously declared in /home/xxx/shop/g1/util.php:1330) in /home/xxx/shop/g1/lib/album.php on line 387
...

Any idea?

The following information is required to get an answer:
Get this information from the PHP diagnostic (in the configuration wizard).
Gallery version: 1.5.9
Graphics Toolkit: imagemagik
Operating system: linux
Web browser/version (if applicable): any

[img]http://syncexp.com/favicon.ico[/img]SyncEXPERT - Synchronizes data ( files & ODBC records ) between any storage drives - http://syncexp.com/

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Thu, 2008-10-02 12:58

Hello,

this looks like an incomplete or bad upgrade from 1.5.x to 1.5.9

Jens
--
Last Gallery v1 Developer.
Tryout the TEST-Version of Gallery 1.6

 
xinca
xinca's picture

Joined: 2002-09-28
Posts: 86
Posted: Fri, 2008-10-03 02:30

Thanks for the caring Tim. I found and fixed the problem. A badly configured htaccess file at upper most directory, ie /home/xxx/.htaccess.

[img]http://syncexp.com/favicon.ico[/img]SyncEXPERT - Synchronizes data ( files & ODBC records ) between any storage drives - http://syncexp.com/