Thoul
VIP

Joined: 30 Jul 2002
Posts: 18040
Location: USA
|
Posted: January 24th 2004, 5:56 pm Post subject: Could not open template config file |
|
|
| Quote:
|
phpBB : Critical Error
Could not open subSilver template config file
|
This is an infrequent error that sometimes cripples phpBB forums. It can look very daunting to a new user of phpBB, but it's really a very simple error to fix. The error message can have different variations for different templates, such as "Could not open illusion template config file," "Could not open ashGrunge template config file," and so forth. Take note of the template name mentioned in the error message, as this is the most important clue you have to fixing the error.
Every phpBB template has three things in common. They all have their own directory in the templates directory, such as templates/subSilver or templates/ashGrunge. Likewise, they all have a file in that directory named after the template and ending with a "cfg" extension, such as subSilver.cfg, illusion.cfg, ashGrunge.cfg, and so on. Finally, the names of these cfg files and directories are case sensitive. phpBB regards subSilver.cfg and subsilver.cfg as two completely different things. This error message is really saying that either the directory or cfg file for a template are missing or named incorrectly. Some uploading programs, such as FTP clients, may rename files when they are uploaded. WS FTP, for example, as an option to upload all files with lowercase file names. If your subSilver.cfg gets uploaded as subsilver.cfg, it can cause this error message to appear.
Here's a handy checklist for finding the cause of this error.
- Has the template named in the error has been uploaded to the templates/ directory?
- Is the directory for this template named exactly as spelled in the error message? With the example above, subSilver would be correct, but subsilver would not.
- Does a file exist in the template directory that has the same name as the directory plus a cfg extension, such as subSilver.cfg?
- If this file does exist, is it named exactly as spelled in the error message? subSilver.cfg is correct, but subsilver.cfg is not the file phpBB needs.
Actually fixing the error is as simple as correcting whatever problem(s) you find from the checklist. If the template or cfg file are not in the right directories, put them there. When the names are spelled incorrectly, rename the directory or file as needed. _________________ Fringes of Algo - Phantasy Star Community
TV Blitz Forums - Television Discussion Community
phpBB Smith: Modifications
70+ Listings @ phpBBHacks.com |
|