[SOLVED] Error starting Gallery after nice install

pflach

Joined: 2005-01-30
Posts: 3
Posted: Sun, 2005-01-30 01:14

I have successfully install the Gallery2-Aplha4.
And If I try to Start (Main.php), I obtain:

Warning: fetch(WEBS:/gallery2/g2data/smarty/templates_c/%%2516476997/%%0B^0B8^0B8E8564%%error.tpl.php): failed to open stream: No such file or directory in WEBS:/gallery2/lib/smarty/Smarty.class.php on line 1247

Warning: fetch(): Failed opening 'WEBS:/gallery2/g2data/smarty/templates_c/%%2516476997/%%0B^0B8^0B8E8564%%error.tpl.php' for inclusion (include_path='.;sys:/php4/includes') in WEBS:/gallery2/lib/smarty/Smarty.class.php on line 1247

----
Gallery version: G2 Alpha 4
Webserver (with version): Apache 2
Datatabase (with version): MySQL 4.018b
PHP version (eg 4.2.1): PHP 5.0
Operating system: NetWare 6.5
Web browser/version: IE 6.0

Have somebody an idea ?

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Tue, 2005-02-01 04:55

I believe this is a problem with Smarty not being compatible with NetWare. Check out this thread and tell me what you think.

 
pflach

Joined: 2005-01-30
Posts: 3
Posted: Sat, 2005-02-05 10:44

Good I've Tried your soluce.
I've change the problem about Drive Letter and give a nextstep:

Error (ERROR_BAD_PARAMETER): Unknown permission id: core.view
in file modules/core/classes/helpers/GalleryPermissionHelper_simple.class at line 58 (gallerystatus::error)
in file modules/core/classes/GalleryCoreApi.class at line 458 (gallerypermissionhelper_simple::convertidstobits)
in file modules/core/classes/helpers/GalleryChildEntityHelper_simple.class at line 262 (gallerycoreapi::convertpermissionidstobits)
in file modules/core/classes/helpers/GalleryChildEntityHelper_simple.class at line 189 (gallerychildentityhelper_simple::_fetchchilditemids)
in file modules/core/classes/GalleryCoreApi.class at line 2076 (gallerychildentityhelper_simple::fetchchilditemids)
in file layouts/matrix/layout.inc at line 245 (gallerycoreapi::fetchchilditemids)
in file layouts/matrix/layout.inc at line 153 (matrixlayout::_loadalbumtemplate)
in file modules/core/ShowItem.inc at line 124 (matrixlayout::loadtemplate)
in file modules/core/classes/GalleryView.class at line 244 (showitemview::loadtemplate)
in file main.php at line 312 (showitemview::doloadtemplate)
in file main.php at line 47
in file main.php at line 40

I have already deleted all subfolders and files on templates_c

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Wed, 2005-02-09 04:19

Did you do a complete reinstall with the latest nightly build? When I say complete I mean delete all the tables from the database, delete everything under the g2data directory and start with a fresh copy of the code from here and see if that resolves the problem.

 
pflach

Joined: 2005-01-30
Posts: 3
Posted: Thu, 2005-02-10 20:51

Fine!
The actual version of Gallery2 02-10-2005 03:36:03 AM work
I have modify the gallery2\lib\smarty\internals\core.create_dir_structure.php
if (preg_match('!^((//)|([a-zA-Z]:/))!', $_dir, $_root_dir)) {
to
if (preg_match('!^((//)|([a-zA-Z]+:/))!', $_dir, $_root_dir)) {
for the Drive LongName
and now i can call the main page and try it.
Super! Thanks for your time and help.

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Mon, 2005-02-14 09:04

Does it work properly? If so, I'll pass this suggestion back upstream to the Smarty folks...