problem with G2 installation.
koor-gallery
Joined: 2003-06-18
Posts: 3 |
Posted: Wed, 2003-06-18 12:29 |
The error messages: Error (ERROR_BAD_PARAMETER) * in modules/core/classes/Gallery.class at line 240 (gallerystatus::error) This error occurs after I've run setup up and setup reports that everything has been System information: I've just cleaned out my database, got the newest code from the cvs, but nothing changed. I've been searching through the forum, but didn't found any solution. Koor |
|
Posts: 7994
That's strange. It looks like your root album was not created successfully. I'm interested in investigating this. Any chance that I can ssh to your box and experiment with your setup to see if I can figure out what's going on? Private message me with the details. Thanks.
Posts: 3
Well I just created a test account for you, and tried to install a new gallery.
And now it works. weird.
Will test the old location again.
Dennis
Posts: 3
Well call me crazy, but the same cvs source as yesterday, it works now.
Must be a glitch between mysql and the gallery root.
Ohh well, going to test it :>
Dennis
Posts: 5
seems i have the same problems from my installation into a linux server.
Warning: Cannot modify header information - headers already sent by (output started at /home/sr02/public_html/gallery2/config.php:115) in /home/sr02/public_html/gallery2/modules/core/classes/GallerySession.class on line 218
Error (ERROR_BAD_PARAMETER)
in modules/core/classes/Gallery.class at line 240 (gallerystatus::error)
in modules/core/classes/GalleryView.class at line 280 (gallery::loadentitiesbyid)
in modules/core/ShowItem.inc at line 42 (showitemview::_getitem)
in modules/core/classes/GalleryView.class at line 207 (showitemview::getthemename)
in main.php at line 211 (showitemview::renderheadandbody)
in main.php at line 24
any ideas ?
Posts: 7994
You entered some bogus data on line 115 of your config.php. Make sure there's nothing after the closing ?> and this problem should go away.
Posts: 28
I get this Bad_parameter error after installing G2 latest nightly today. If you are interestet in debugging this, give me a message, I can crate an account for you ...
Posts: 7994
sigi, sure send me your info and I'll check it out. thanks.
Posts: 7994
sigi, I investigated your set up and fixed your problem. Basically, you didn't follow the directions closely enough :wink: and told G2 to store its data in the same directory where you unpacked the code! I fixed this by creating a new "gallerydata" directory and modifying your config.php to point to that. Then I emptied out your gallery2 database, cleaned out the gallerydata directory and re-ran the install process and now your gallery is working. Log in as admin with the password in your config.php file.
Posts: 28
Hey thank you !!!!!
well, then this point wasnt clear enough in the doc - at least to me ...
ok so now I can try out this software ...
I will store more than 35.000 pics in it .... and I hope to get it working as a Phpnuke-module ...
Thnaks again and keep up the good work
Posts: 28
Hi
i put some pics into the gallery. there are no thumbnails ...
then I tried to make a hilight - and get this:
Error (ERROR_UNSUPPORTED_OPERATION)
* in modules/core/ItemMakeHighlight.inc at line 154
* in main.php at line 134
* in main.php at line 46
???
Posts: 7994
Did you install, configure and activate one of the graphics modules? If not, you may want to re-read the README before you continue
Posts: 58
Does anyone know what could cause the below errors? I have tried the 08/16/03 Version 08/04/03 Version & CVS all do the same thing.
Any Help would be great!! :o
Error (ERROR_BAD_PARAMETER)
in modules/core/classes/Gallery.class at line 240
in modules/core/classes/GalleryView.class at line 302
in modules/core/ShowItem.inc at line 44
in modules/core/classes/GalleryView.class at line 217
Gallery Debug Output
Trying to load core version. If you see an error like table Xxx doesn't
exist here, that's OK.
--------------------------------------------------------------------------------
(mysql):
SELECT
g2_ModuleParameterMap.g_parameterName,
g2_ModuleParameterMap.g_parameterValue
FROM
g2_ModuleParameterMap
WHERE
g2_ModuleParameterMap.g_moduleName = 'core'
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
(mysql):
SELECT
g2_Session.g_sessionData
FROM
g2_Session
WHERE
g2_Session.g_sessionId = '0207f447abe056a1ca318c98a67b7506'
--------------------------------------------------------------------------------
[1061058767] can't guarantee 5 -- extending!
--------------------------------------------------------------------------------
(mysql): SELECT g_id, g_entityType FROM g2_Entity WHERE g_id IN (3)
--------------------------------------------------------------------------------
file_exists(/usr/local/share/doc/apache/gallery/modules/core/classes/GalleryUser.class)
--------------------------------------------------------------------------------
(mysql): SELECT g2_Entity.g_id, g2_Entity.g_creationTimestamp,
g2_Entity.g_modificationTimestamp, g2_Entity.g_serialNumber,
g2_Entity.g_entityType, g2_User.g_userName, g2_User.g_fullName,
g2_User.g_hashedPassword, g2_User.g_email, g2_User.g_language FROM
g2_Entity, g2_User WHERE g2_Entity.g_id IN (3) AND
g2_User.g_id=g2_Entity.g_id
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
(mysql):
SELECT
g2_ModuleMap.g_moduleName,
g2_ModuleMap.g_active
FROM
g2_ModuleMap
--------------------------------------------------------------------------------
opendir(/usr/local/share/doc/apache/gallery/modules/)
is_dir(/usr/local/share/doc/apache/gallery/modules/CVS)
file_exists(/usr/local/share/doc/apache/gallery/modules/CVS/module.inc)
is_dir(/usr/local/share/doc/apache/gallery/modules/comment)
file_exists(/usr/local/share/doc/apache/gallery/modules/comment/module.inc)
is_dir(/usr/local/share/doc/apache/gallery/modules/core)
file_exists(/usr/local/share/doc/apache/gallery/modules/core/module.inc)
is_dir(/usr/local/share/doc/apache/gallery/modules/debug)
file_exists(/usr/local/share/doc/apache/gallery/modules/debug/module.inc)
is_dir(/usr/local/share/doc/apache/gallery/modules/imagemagick)
file_exists(/usr/local/share/doc/apache/gallery/modules/imagemagick/module.inc)
is_dir(/usr/local/share/doc/apache/gallery/modules/netpbm)
file_exists(/usr/local/share/doc/apache/gallery/modules/netpbm/module.inc)
is_dir(/usr/local/share/doc/apache/gallery/modules/search)
file_exists(/usr/local/share/doc/apache/gallery/modules/search/module.inc)
file_exists(/usr/local/share/doc/apache/gallery/modules/core/ShowItem.inc)
file_exists(/usr/local/share/doc/apache/gallery/modules/core/ShowItem.inc)
file_exists(/usr/local/share/doc/apache/gallery/modules/core/templates/)