Hi and hello
I just upgraded from G2 Beta1 to Beta2, that went without any pain.
I entered my gallery, everything looked fine and shiny.
but when I tried to edit something I got "Fatal error: Call to undefined function: usedefaultstyle() in /home/spritfire/public_html/gallery2/modules/core/classes/GalleryView.class on line 234"
Anyone have a clue ?
----
Gallery URL (optional):
Gallery version: G2 Beta2
Webserver (with version):
Datatabase (with version):
PHP version (eg 4.2.1):
phpinfo URL (optional):
Graphics Toolkit(s): netpmb, imagemagic
Operating system: Gentoo 1.4.16
Web browser/version:
G1 version (for migration bugs):
Posts: 32509
please go to the yourgalleryurl/upgrade/ and go to the system check step.
are there any missing/modified files?
thanks.
Posts: 67
Old files (3)
These files are no longer part of Gallery. They probably won't cause any problems but it is a good idea to remove them to keep your install clean.
...tabaseStorage/schema/platform/mysql/GalleryPermissionMap.sql
...abaseStorage/schema/platform/oracle/GalleryPermissionMap.sql
...aseStorage/schema/platform/postgres/GalleryPermissionMap.sql
That is all....
Rest say "success"
Posts: 32509
strange. could you reupload /home/spritfire/public_html/gallery2/modules/core/classes/GalleryView.class
the referenced function is defined in this very file where the function is also called. so the error message is pretty strange.
Posts: 67
Reuploaded, still the same error.
Posts: 32509
Spritfire, that is very strange. not G2s fault for sure
are there any php accelerators/caches involved in your system setup? something like zend, PHPA, turk mmcache or eaccelerator?
could you restart the php threads if there are some and the apache server?
Posts: 67
running : The ionCube PHP Accelerator , wich have been installed the last two months ( before I installed G2 Beta1 that is )
Apache is restarted, still getting same error.
I doubt it is the server tho, since it didn't give any errors before I installed beta2
or could I be wrong ?
Posts: 7994
It's possible that ionCube could have cached an old version of the class. I've had problems with it in the past and have found that flushing the cache using phpaca (or whatever their management interface is called these days) will generally fix it.
Posts: 32509
yeah, i too had a caching issue with PHPA. i even used their command line tool to empty the cache to no avail. i had to empty id manually with rm * in their cache directory and filed a bug. don't know what the conclusion was, something like they said "hmm, that should not have happened, the disk cache should be emptied, ...".
Posts: 67
Problem solved, it fixed itself over the night.
I dont have a clue why :P
tnx for all the help anyways