Search…

X3 Photo Gallery Support Forums

Search…
 
Bob Hunter
Topic Author
Posts: 16
Joined: 13 Aug 2009, 16:13

Gallery Menu Undefined on localhost only

21 Aug 2009, 23:37

I have everything working fine on the production server. Copied everything to my local drive to work offline. Imagevue starts, Gallery menu appears. But, when you click it, it just says "Undefined".

Ran the imagevue-check.php and all items were green checkmarks.

Checked all the folder xml files and there were no errors reported.

Local setup is wanpserver 2.x.

Anyone had this problem and figured out what's different?

Thanks,

Bob
 
User avatar
Nick
Imagevue Hitman
Posts: 2872
Joined: 02 May 2006, 09:13

22 Aug 2009, 04:04

Check Admin side on this link http://localhost/gallery/imagevue, it might display more errors, probably can't write to file or something.

Next release will have some serious improvements in error reporting.

At the moment, to see what's going on, some useful info can be found in the output of those scripts:
http://localhost/gallery/?a=folders
http://localhost/gallery/?a=files
firedev.com
 
Bob Hunter
Topic Author
Posts: 16
Joined: 13 Aug 2009, 16:13

Ran the a=folders and a=files test

22 Aug 2009, 10:24

This is the response:

Only one top level element is allowed in an XML document. Error processing resource 'http://localhost/LittleTSquares/vue/?a...

<b>Deprecated</b>: Function set_magic_quotes_runtime() is deprecated in <b>C:\wamp\www\LittleTSquares\vue...

I checked out all the xml files and they looked fine (no double top level elements). Unfortunately, the error report doesn't show the actual file name and location.

Any ideas?
 
User avatar
carter2
Experienced
Posts: 206
Joined: 13 Oct 2008, 13:00

22 Aug 2009, 15:28

Was having a similar problem, not with Imagevue though.
This might help >>HERE<<
 
Bob Hunter
Topic Author
Posts: 16
Joined: 13 Aug 2009, 16:13

Set Magic Quotes

22 Aug 2009, 16:27

I checked out Set_Magic_Quotes and it was turned on on the production server (where everything works fine) and turned off on my local server (where I get Undefined).

When I turned it on, I still got Undefined showing in the Gallery folder listing and still got the same message about magic quotes and xml problems.

Bob
 
User avatar
carter2
Experienced
Posts: 206
Joined: 13 Oct 2008, 13:00

22 Aug 2009, 18:14

Just out of curiosity, same php versions on the servers?
 
Bob Hunter
Topic Author
Posts: 16
Joined: 13 Aug 2009, 16:13

22 Aug 2009, 22:44

Version 5.2.8 on the server and 5.3.0 on localhost
 
User avatar
Nick
Imagevue Hitman
Posts: 2872
Joined: 02 May 2006, 09:13

24 Aug 2009, 06:06

Just edit php.ini there will be list of disabled functions, it's called "disable_functions" remove set_magic_quotes_runtime().
firedev.com
 
Bob Hunter
Topic Author
Posts: 16
Joined: 13 Aug 2009, 16:13

24 Aug 2009, 10:28

FIXED!

In WampServer, there is a menu item under PHP settings where you can turn-off Magic Quotes Runtime. (changing the php.ini's, of which there are several, didn't work because it created the settings on the fly from another file).

I still had a problem, but that was because the code was still calling set_magic_quotes_runtime(0) in the common.inc.php file. When I commented that code out, the gallery folder list worked.

Thanks everyone for the help.