"unterminated string literal" when Adding photos

tsg

Joined: 2009-09-04
Posts: 11
Posted: Fri, 2009-09-04 13:37

Hello, the following error occurs directly after clicking onto the "There aren't any photos here yet! Add some." after a 100% clean and fresh installation. For me it does not look like a File size config error, more like a javascript bug.
It happens immideately after klicking the link, before a actually could select files to upload. The popup layer window titled "Add photos to Gallery" appears showing an empty upload queue. and the error shows up in firebug / javascript console. I cannot select any files to upload. Thus cannot use the Gallery :(
Gallery version is current "Beta2", on PHP 5.2.10 Apache/1.3.34 (Debian Etch)

Quote:
Fehler: unterminated string literal
Quelldatei: http://testgallerystudioline.de/
Zeile: 80, Spalte: 29
Quelltext:
fp.set_status("error", "<strong>File is too big.</strong> A likely error source is a too low value for <em>upload_max_filesize</em> (20M

Thanks for any help / fix!

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Fri, 2009-09-04 16:05

First, try upgrading to the latest code, many many changes have happened since B2 was released:
http://codex.gallery2.org/Gallery3:Upgrading

As for that error, check out these posts:
http://gallery.menalto.com/node/88550#comment-319412

http://gallery.menalto.com/node/89367

If that doesn't help post a link to phpinfo, this link explains how:
FAQ: What information is required when I ask for help in the forums?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
tsg

Joined: 2009-09-04
Posts: 11
Posted: Mon, 2009-09-07 12:16

It's working now!

Sorry for being a kacknoob, it definetely seemed to be a bug in the beta2. I just upgraded to gallery-gallery3-14ba8505cccd361a4618c4b26868240a0b2fb226.zip version and now it is working!

and it was the same problem as described in both other threads (sorry 4 that, I did not find them first). So the upgrad I think will also help these guys!

Thank you for the upgrading hint!