News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Undefined index: theme_template_error

Started by adam, March 14, 2004, 01:16:14 AM

Previous topic - Next topic

adam

I just installed SMF and deleted the installer and proceeded to the board when I got this error:

Notice: Undefined index: theme_template_error in /home/adamb10/public_html/smf/Sources/Load.php on line 813

[Unknown]

Are you sure you uploaded all of your templates?

Can you tell me the result of the following query?

SELECT ID_THEME, value
FROM themes
WHERE variable = 'theme_dir';

-[Unknown]

adam

#1146 - Table 'adamb10_smf.themes' doesn't exist

[Unknown]

I'm sorry, smf_themes... like so:

SELECT ID_THEME, value
FROM smf_themes
WHERE variable = 'theme_dir';

Or, whatever your prefix was.

-[Unknown]


1979Z28

That's password protected, btw. You should be able to copy + paste the results into a CODE ([]) box here in the forum..

adam

SQL result
Host: localhost
Database : adamb10_smf
Generation Time: Mar 14, 2004 at 01:48 AM
Generated by: phpMyAdmin 2.5.6-rc1 / MySQL 4.0.18-standard
SQL-query: SELECT ID_THEME, value FROM smf_themes WHERE variable = 'theme_dir' LIMIT 0, 30;
Rows: 2

ID_THEME  value 
1 /home/adamb10/public_html/smf/Themes/default
2 /home/adamb10/public_html/smf/Themes/classic

[Unknown]

Do the two directories listed actually exist?

-[Unknown]

adam

They do but I dunno what SmartFTP is doing with it.  My board (http://adamb10.elixant.com/smf) is getting errors and that annoying copyright notice which I dunno how to fix.

[Unknown]

It looks like you didn't upload the languages folder which was inside the default folder.... in turn inside the Themes folder.  That sentence must be rather confusing, so to illustrate:

/smf/Themes <-- is there.
/smf/Themes/default <-- fine also.
/smf/Themes/default/languages <-- MISSING!

I can prove it too ;).  No big though, it's an easy mistake to make and frankly, I'm ashamed I didn't make the installer warn you!

http://www.adamb10.elixant.com/smf/Themes/default/languages

-[Unknown]

adam

Quote from: [Unknown] on March 14, 2004, 01:54:18 AM
It looks like you didn't upload the languages folder which was inside the default folder.... in turn inside the Themes folder.  That sentence must be rather confusing, so to illustrate:

/smf/Themes <-- is there.
/smf/Themes/default <-- fine also.
/smf/Themes/default/languages <-- MISSING!

I can prove it too ;).  No big though, it's an easy mistake to make and frankly, I'm ashamed I didn't make the installer warn you!

http://www.adamb10.elixant.com/smf/Themes/default/languages

-[Unknown]
No need to be ashamed.  My FTP program is nuts.  Im downloading ws_ftp now so hopefully this will work normal.

adam


diamond

#12
It seems the recommended FTP program, Smart FTP, is actually causing this. I had the exact same problem but when I reuploaded with FlashFXP it worked. Seems the folder structure goes too deep for Smart FTP perhaps?

[Unknown]

Strangely enough, I've always used SmartFTP and it always seems to work for me.... really odd.

-[Unknown]

QurazyQuisp

Yup, I've had the same problem with smartftp, it looses folders...

adam

I'll get that screen capture software and prove that dev that it happens.

Advertisement: