error collision??

henri

Joined: 2002-08-31
Posts: 6
Posted: Thu, 2003-01-02 18:13

What doest it mean?

Warning: mkdir() failed (No such file or directory) in c:documents and settingshlabarre1my documentstravailglobalsoftware downloadtempeasyphpwwwgallery2modulescoreclassesGalleryPlatform.class on line 364
Error (ERROR_COLLISION)
in c:documents and settingshlabarre1my documentstravailglobalsoftware downloadtempeasyphpwwwgallery2modulescoreclassesGalleryAlbumItem.class at line 165
in c:documents and settingshlabarre1my documentstravailglobalsoftware downloadtempeasyphpwwwgallery2modulescoremodule.inc at line 790
in c:documents and settingshlabarre1my documentstravailglobalsoftware downloadtempeasyphpwwwgallery2modulescoremodule.inc at line 305
in c:documents and settingshlabarre1my documentstravailglobalsoftware downloadtempeasyphpwwwgallery2init.php at line 111
in c:documents and settingshlabarre1my documentstravailglobalsoftware downloadtempeasyphpwwwgallery2main.php at line 47
in c:documents and settingshlabarre1my documentstravailglobalsoftware downloadtempeasyphpwwwgallery2main.php at line 30

 
henri

Joined: 2002-08-31
Posts: 6
Posted: Fri, 2003-01-03 08:57

here is the debug mode:

--------------------------------------------------------------------------------
(mysql): SELECT
g2_GalleryModuleParameterMap.g_parameterName,g2_GalleryModuleParameterMap.g_parameterValue
FROM g2_GalleryModuleParameterMap WHERE
g2_GalleryModuleParameterMap.g_moduleName='core'
--------------------------------------------------------------------------------

Can't load core version -- assuming that the core needs installation
opendir(c:\documents and settings\hlabarre1\my
documents\travail\global\software
download\temp\easyphp\www\gallery2\modules\core\classes\GalleryStorage/../../../../modules/core/classes/GalleryStorage/DatabaseStorage/schema/platform/mysql)
--------------------------------------------------------------------------------
(mysql): SHOW TABLES
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): SELECT g_name, g_major, g_minor FROM g2_Schema

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): UPDATE g2_GalleryModuleParameterMap SET g_parameterValue='0755'
WHERE g_moduleName='core' AND g_parameterName='permissions.directory'

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): UPDATE g2_GalleryModuleParameterMap SET g_parameterValue='0644'
WHERE g_moduleName='core' AND g_parameterName='permissions.file'

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): UPDATE g2_GalleryModuleParameterMap SET g_parameterValue='0'
WHERE g_moduleName='core' AND g_parameterName='exec.expectedStatus'

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): UPDATE g2_GalleryModuleParameterMap SET g_parameterValue='id'
WHERE g_moduleName='core' AND g_parameterName='default.orderBy'

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): UPDATE g2_GalleryModuleParameterMap SET g_parameterValue='1'
WHERE g_moduleName='core' AND g_parameterName='default.orderDirection'

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): UPDATE g2_GalleryModuleParameterMap SET
g_parameterValue='classic' WHERE g_moduleName='core' AND
g_parameterName='default.layout'
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): UPDATE g2_GalleryModuleParameterMap SET
g_parameterValue='classic' WHERE g_moduleName='core' AND
g_parameterName='default.theme'
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): UPDATE g2_GalleryModuleParameterMap SET g_parameterValue='en_US'
WHERE g_moduleName='core' AND g_parameterName='default.language'

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): UPDATE g2_GalleryModuleParameterMap SET
g_parameterValue='GALLERYSID' WHERE g_moduleName='core' AND
g_parameterName='session.idParameter'
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): UPDATE g2_GalleryModuleParameterMap SET
g_parameterValue=788400000 WHERE g_moduleName='core' AND
g_parameterName='session.lifetime'
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): UPDATE g2_GalleryModuleParameterMap SET g_parameterValue=1209600
WHERE g_moduleName='core' AND g_parameterName='session.inactivityTimeout'

--------------------------------------------------------------------------------

file_exists(c:\documents and settings\hlabarre1\my
documents\travail\global\software
download\temp\easyphp\www\gallery2\modules\core/classes/GalleryUser.class)
--------------------------------------------------------------------------------
(mysql): SELECT g2_GalleryUserGroupMap.g_userId, g2_GalleryUser.g_userName
FROM g2_GalleryUserGroupMap, g2_GalleryUser WHERE
g2_GalleryUserGroupMap.g_groupId = '2' AND g2_GalleryUserGroupMap.g_userId
= g2_GalleryUser.g_id ORDER BY g2_GalleryUser.g_userName LIMIT -1

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): SELECT g2_GalleryUserGroupMap.g_userId, g2_GalleryUser.g_userName
FROM g2_GalleryUserGroupMap, g2_GalleryUser WHERE
g2_GalleryUserGroupMap.g_groupId = '2' AND g2_GalleryUserGroupMap.g_userId
= g2_GalleryUser.g_id ORDER BY g2_GalleryUser.g_userName LIMIT -1

--------------------------------------------------------------------------------

file_exists(c:\documents and settings\hlabarre1\my
documents\travail\global\software
download\temp\easyphp\www\gallery2\modules\core/classes/GalleryAlbumItem.class)
--------------------------------------------------------------------------------
(mysql): SELECT COUNT(g2_GalleryChildEntity.g_id) FROM
g2_GalleryChildEntity, g2_GalleryFileSystemEntity WHERE
g2_GalleryChildEntity.g_parentId is NULL AND
g2_GalleryFileSystemEntity.g_pathComponent = 'root' AND
g2_GalleryChildEntity.g_id <> NULL AND ((g2_GalleryChildEntity.g_id
= g2_GalleryFileSystemEntity.g_id))
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): update sequence_id set id=LAST_INSERT_ID(id+1);

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_GalleryDerivativePreferencesMap (g_itemId,
g_order, g_derivativeType, g_derivativeCommands) VALUES (11, 0, 1, 'scale
200')
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_GalleryDerivativePreferencesMap (g_itemId,
g_order, g_derivativeType, g_derivativeCommands) VALUES (11, 0, 2, 'scale
640')
--------------------------------------------------------------------------------

mkdir(gallerydata\albums\root, 755)

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Sat, 2003-01-04 06:52
Quote:
mkdir(gallerydata\albums\root, 755)

Did you provide the full path to the "gallerydata" directory in config.php?

 
npereira

Joined: 2002-09-24
Posts: 114
Posted: Mon, 2003-02-03 14:40

Here is my error output:

<!-- BBCode Start --><TABLE BORDER=0 ALIGN=CENTER WIDTH=85%><TR><TD><font class="pn-sub">Code:</font><HR></TD></TR><TR><TD><FONT class="pn-sub"><PRE> Error (ERROR_COLLISION)
in modules/core/classes/GalleryAlbumItem.class at line 165
in modules/core/module.inc at line 805
in modules/core/module.inc at line 321
in init.php at line 111
in main.php at line 47
in main.php at line 30 </TD></TR></TABLE><!-- BBCode End -->

I cannot get Gallery to output logs to the log.txt file I created and chmod'ed to 777.
Here is my config for the log file:
<!-- BBCode Start --><TABLE BORDER=0 ALIGN=CENTER WIDTH=85%><TR><TD><font class="pn-sub">Code:</font><HR></TD></TR><TR><TD><FONT class="pn-sub"><PRE> $gallery->setDebugLogFile('/home/e-smith/files/primary/html/gallery2/debug.txt');
/*
* and all debug output will get printed into that file. You'll get all the
* debug output and the application will work normally.
*/
$gallery->setDebug(true);
</TD></TR></TABLE><!-- BBCode End -->

 
joerg
joerg's picture

Joined: 2002-10-12
Posts: 77
Posted: Mon, 2003-02-03 18:32

Hi,

try

<!-- BBCode Start --><TABLE BORDER=0 ALIGN=CENTER WIDTH=85%><TR><TD><font class="pn-sub">Code:</font><HR></TD></TR><TR><TD><FONT class="pn-sub"><PRE>$gallery->setDebug('logged');</TD></TR></TABLE><!-- BBCode End -->

and it should work. :wink:

Joerg