4images Forum & Community

4images Issues / Ausgaben => Discussion & Troubleshooting => Topic started by: bootz on August 02, 2002, 05:25:50 PM

Title: DB Error: Couldn't open Template ./templates/default/header.
Post by: bootz on August 02, 2002, 05:25:50 PM
"DB Error: Couldn't open Template ./templates/default/header.html"

Get this error when requesting index.php after installing 4images, running the install.php script successfully and also using control panel (admin/index.php) successfully.

Also, same error when trying to view a picture from control panel...

Running on Mandrake Linux 8.2, Apache 1.3.23, PHP 4.1.2.

Any ideas gratefully received ;)
Title: DB Error: Couldn't open Template ./templates/default/header.
Post by: Jan on August 02, 2002, 08:31:30 PM
Did you checked if this file exists on your server. Not a great idea, but maybe it will help ;)

Jan
Title: DB Error: Couldn't open Template ./templates/default/header.
Post by: bootz on August 02, 2002, 08:42:50 PM
hi...

yes the file does exist...
Title: DB Error: Couldn't open Template ./templates/default/header.
Post by: bootz on August 02, 2002, 09:28:49 PM
:D  ok thanks i got it working after some chmod'íng, urpmi'ing and tweaking hehe

 bootz
Title: DB Error: Couldn't open Template ./templates/default/header.
Post by: gurl on April 30, 2003, 07:49:49 AM
may i know how did u fix the problem?
i got this instead Template Error: Couldn't open Template ./templates//header.html

i'm sure the url is wrong. it should be /header.html only but then i don't know how to fix it.
Title: DB Error: Couldn't open Template ./templates/default/header.
Post by: V@no on April 30, 2003, 12:42:30 PM
Quote from: gurl
may i know how did u fix the problem?
i got this instead Template Error: Couldn't open Template ./templates//header.html

i'm sure the url is wrong. it should be /header.html only but then i don't know how to fix it.

actualy it shuld be ./templates/<yourtemplatename>/header.html
Title: DB Error: Couldn't open Template ./templates/default/header.
Post by: gurl on May 02, 2003, 10:01:58 PM
Quote from: V@no

actualy it shuld be ./templates/<yourtemplatename>/header.html


how can I fix that?
Title: DB Error: Couldn't open Template ./templates/default/header.
Post by: V@no on May 03, 2003, 12:24:34 AM
that means, either u dont have ANY templates installed (nothing in /templates/ folder) or u didnt select any templates in the settings.
or, something messed up, and last "or": check CHMOD for your files/folder (more info u can find in /docs/installation.txt.)
Title: DB Error: Couldn't open Template ./templates/default/header.
Post by: gurl on May 06, 2003, 04:23:49 AM
there is a template in the templates folder. & i'm sure the chmods are right. but I just don't know how to select the templates in the settings (it doesn't say how to in the installation.txt). it has been a month that i couldn't get this started.
Title: DB Error: Couldn't open Template ./templates/default/header.
Post by: V@no on May 06, 2003, 10:44:59 AM
go to admin control panel -> settings
Title: DB Error: Couldn't open Template ./templates/default/header.
Post by: gurl on May 07, 2003, 07:48:05 AM
is there any other way to select a template without having to go to the control panel? cause i can't seem to login my admin control panel. i tried the user & pw that I put in install.php earlier but it doesn't work. & when I go back to install.php, the page directs to index.php. I can't change it again.
Title: DB Error: Couldn't open Template ./templates/default/header.
Post by: V@no on May 07, 2003, 10:24:31 AM
Quote from: gurl
is there any other way to select a template without having to go to the control panel?

Edit DB manualy....