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)
* 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

This error occurs after I've run setup up and setup reports that everything has been
setup correctly.

System information:
FreeBSD 4.7-RELEASE os, apache webserver and php 4.3.2.
http://www.phlex.net/phpinfo.php for the php specs.

I've just cleaned out my database, got the newest code from the cvs, but nothing changed.
Anyone an idea?

I've been searching through the forum, but didn't found any solution.

Koor

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Thu, 2003-06-19 06:27

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.

 
koor-gallery

Joined: 2003-06-18
Posts: 3
Posted: Thu, 2003-06-19 10:01

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

 
koor-gallery

Joined: 2003-06-18
Posts: 3
Posted: Thu, 2003-06-19 10:06

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

 
tomcat

Joined: 2003-06-21
Posts: 5
Posted: Sat, 2003-06-21 08:45

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 ?

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Sun, 2003-06-22 05:44
output started at /home/sr02/public_html/gallery2/config.php:115

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.

 
sigi

Joined: 2003-06-17
Posts: 28
Posted: Tue, 2003-07-15 07:19

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 ...

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Fri, 2003-07-18 03:28

sigi, sure send me your info and I'll check it out. thanks.

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Fri, 2003-07-18 05:48

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.

 
sigi

Joined: 2003-06-17
Posts: 28
Posted: Fri, 2003-07-18 05:59

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 :-)

 
sigi

Joined: 2003-06-17
Posts: 28
Posted: Fri, 2003-07-18 06:40

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

???

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Sat, 2003-07-19 07:43

Did you install, configure and activate one of the graphics modules? If not, you may want to re-read the README before you continue :-)

 
DarkunderdoG

Joined: 2003-08-16
Posts: 58
Posted: Sat, 2003-08-16 18:37

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/)