[SOLVED] Upgraded to G2B1. Now get error on album/item edit
RobFerrer
Joined: 2005-03-10
Posts: 33 |
Posted: Thu, 2005-03-10 14:43 |
I have just upgraded from A4 to B1. This went without a hitch, but now when I try to edit an album or item I get an error such as
on all edit tabs. On some tabs I also get a memory error. Sorry if this is something obvious. Rob Ferrer ---- |
|
Posts: 32509
activate debug mode in config.php and post the complete output.
if you know a little about what you're seeing in debug, you can leave out the uninteresting part.
we need:
- the stack trace at the top
- the line with the error and the lines before and after the error (not code lines, debug output lines)
thanks
Posts: 33
I am not farmiliar with the debug output yet, so may have included too much. All I have edited out is SQL queries.
The URL used here is
http://www.robferrer.co.uk/gallery/main.php?g2_view=core:ItemAdmin&g2_subView=core:ItemEdit&g2_itemId=12&g2_return=http%3A%2F%2Fwww.robferrer.co.uk%2Fgallery%2Fmain.php%2Fv%2FAlly21%2F%3Fg2_itemId%3D12%26g2_view%3Dcore%3AShowItem&g2_returnName=album&g2_navId=
The error as I posted above apears at the top of the page. The debug code is:
Posts: 32509
please go to yourgalleryurl/install/
go to installer step "system checks"
what does it say for the memory limit? 8 MB? if so, it's too small.
on the same page at the bottom, there should be an instruction like
php_value memory_limit 16M
alternatively, search the forums and the FAQ on how to raise the memory limit. if it doesn't work, ask your webhost or change your webhost.
Posts: 33
I've increaded the memory limit (It wouldn't let me run the install again, but I increased it manually). Strange, it all worked fine before the upgrade.
The error still occurs, with debug out put:
Posts: 8601
does step 2 of the installer report any modified files?
if you're seeing "isError" in your browser then some php file is likely corrupted.
Posts: 8601
based on the text you posted, I think modules/core/classes/helpers/GalleryDerivativeHelper_advanced.class is corrupt.
Posts: 33
Yes, that works. Thanks
I didn't use the installer because it was an upgrade. The upgrader reported no problems.
Re the memory problem: I didn't have a problem in Alpha 4. I can't remember if I had to change settings then. Does Beta1 use significantly more memory, or has some setting been overrided during the upgrade?
Thanks again
Rob
Posts: 8601
ah right.. it's on our task list to have the upgrader rerun the file integrity check!
no memory change i'm aware of with beta-1