Hi,
I just installed WoWroster 2.0.2 and discovered all the menu headers were actually titled "{ Menu header 01 }" and so on. I removed everything and have begun the installation procedure again and it looks like the problem lies with the locales. On installation Step 2, the locale selection dropdown is completely empty. I couldn't find much info on this and thought I'd post it up to see if anyone had any ideas.
My webhost is running PHP 5.2.9. and conf.php permissions are set to 666, but the file is empty anyway at this stage of the installation. All files in the localization folder have read permissions as do the php files in the roster directory.
Thanks
Unusual issue regarding locales
13 posts • Page 1 of 1
Re: Unusual issue regarding locales
Seems like the localization folder and its files might have been munged during the upload
I would upload these files again
I would upload these files again
-

zanix - Admin

- WoWRoster.net Dev Team

- UA/UU Developer

- Posts: 5451
- Joined: Mon Jul 03, 2006 8:29 am
- Location: Pocatello, Idaho
- WoW Realm: Doomhammer,Rexxar
Read the Forum Rules, the WiKi, and Search before posting!
SigGen: v0.3.1.363 - WoWRoster: v2.0.2 Released! - WoWRosterDF: v2.0.2 Beta
SigGen: v0.3.1.363 - WoWRoster: v2.0.2 Released! - WoWRosterDF: v2.0.2 Beta
Re: Unusual issue regarding locales
Well I re-uploaded the whole lot but I'll give that another go.
[edit] No luck. Removed and reuploaded the whole localization folder but the dropdown list is still completely empty.
[edit] No luck. Removed and reuploaded the whole localization folder but the dropdown list is still completely empty.
- ouija
- WR.net Apprentice

- Posts: 6
- Joined: Thu Jun 25, 2009 11:05 am
Re: Unusual issue regarding locales
That is odd
Is there anyway I can get you to give me your Roster URL, so I can see this myself?
Is there anyway I can get you to give me your Roster URL, so I can see this myself?
-

zanix - Admin

- WoWRoster.net Dev Team

- UA/UU Developer

- Posts: 5451
- Joined: Mon Jul 03, 2006 8:29 am
- Location: Pocatello, Idaho
- WoW Realm: Doomhammer,Rexxar
Read the Forum Rules, the WiKi, and Search before posting!
SigGen: v0.3.1.363 - WoWRoster: v2.0.2 Released! - WoWRosterDF: v2.0.2 Beta
SigGen: v0.3.1.363 - WoWRoster: v2.0.2 Released! - WoWRosterDF: v2.0.2 Beta
- ouija
- WR.net Apprentice

- Posts: 6
- Joined: Thu Jun 25, 2009 11:05 am
Re: Unusual issue regarding locales
Hmmm, I can't see anything just from the URL 
Would you ok if I had ftp access to your server?
You can PM me with the details
Would you ok if I had ftp access to your server?
You can PM me with the details
-

zanix - Admin

- WoWRoster.net Dev Team

- UA/UU Developer

- Posts: 5451
- Joined: Mon Jul 03, 2006 8:29 am
- Location: Pocatello, Idaho
- WoW Realm: Doomhammer,Rexxar
Read the Forum Rules, the WiKi, and Search before posting!
SigGen: v0.3.1.363 - WoWRoster: v2.0.2 Released! - WoWRosterDF: v2.0.2 Beta
SigGen: v0.3.1.363 - WoWRoster: v2.0.2 Released! - WoWRosterDF: v2.0.2 Beta
Re: Unusual issue regarding locales
roster/localization/languages.php exists (can check that from here).
So I presume that de enUS, deDE and frFR also exists.
I presumed that ROSTER_BASE wasn't defined. But then, index.php couldn't call install.php.....
I'll bet answers can be found in the server error of the we server - ouija, did you look into iot ?
ouija, this is what you could do:
Just before line 524 (install.php) , enter this:
So, it will look like
At least you could see what language files are included.
So I presume that de enUS, deDE and frFR also exists.
I presumed that ROSTER_BASE wasn't defined. But then, index.php couldn't call install.php.....
I'll bet answers can be found in the server error of the we server - ouija, did you look into iot ?
ouija, this is what you could do:
Just before line 524 (install.php) , enter this:
- Code: Select all
echo ROSTER_BASE . 'localization' . DIR_SEP . $locale_desc['type'] . '.php';
So, it will look like
- Code: Select all
foreach( $LOCALES as $locale_type => $locale_desc ) { echo ROSTER_BASE . 'localization' . DIR_SEP . $locale_desc['type'] . '.php'; // New line !! if( file_exists(ROSTER_BASE . 'localization' . DIR_SEP . $locale_desc['type'] . '.php') ) {
At least you could see what language files are included.
-

tuigii - WR.net Master

- Posts: 888
- Joined: Wed Dec 27, 2006 12:57 pm
- Location: Somewhere in the South Ouest of France
- WoW Realm: EU-Khaz Modan
Re: Unusual issue regarding locales
Sorry for the late response, I was not online yesterday.
Yes, the files within the localization folder are intact. I've added the echo you suggested and get the following on Step 2:
/home/dcxguild/public_html/roster/localization/enUS.php/home/dcxguild/public_html/roster/localization/deDE.php/home/dcxguild/public_html/roster/localization/frFR.php/home/dcxguild/public_html/roster/localization/esES.php
Oh, and the error log on the server is pretty much empty.
Yes, the files within the localization folder are intact. I've added the echo you suggested and get the following on Step 2:
/home/dcxguild/public_html/roster/localization/enUS.php/home/dcxguild/public_html/roster/localization/deDE.php/home/dcxguild/public_html/roster/localization/frFR.php/home/dcxguild/public_html/roster/localization/esES.php
Oh, and the error log on the server is pretty much empty.
- ouija
- WR.net Apprentice

- Posts: 6
- Joined: Thu Jun 25, 2009 11:05 am
Re: Unusual issue regarding locales
The php script is looking for localization/enUS.php and you have localization/enus.php
Somehow, when you upload the files, the case of the file name was changed to lowercase, and since you have a linux server it failed to include the file.
I have re-uploaded the Roster files to ensure no others have this case issue.
The language options now appear in the installer.
Somehow, when you upload the files, the case of the file name was changed to lowercase, and since you have a linux server it failed to include the file.
I have re-uploaded the Roster files to ensure no others have this case issue.
The language options now appear in the installer.
-

zanix - Admin

- WoWRoster.net Dev Team

- UA/UU Developer

- Posts: 5451
- Joined: Mon Jul 03, 2006 8:29 am
- Location: Pocatello, Idaho
- WoW Realm: Doomhammer,Rexxar
Read the Forum Rules, the WiKi, and Search before posting!
SigGen: v0.3.1.363 - WoWRoster: v2.0.2 Released! - WoWRosterDF: v2.0.2 Beta
SigGen: v0.3.1.363 - WoWRoster: v2.0.2 Released! - WoWRosterDF: v2.0.2 Beta
Re: Unusual issue regarding locales
Oh my god you've got to be kidding me. My FTP client always renames to lower case for my image hosting account... I didn't even notice the case was different from the local files on my desktop.
Thanks very much for checking that out
I really appreciate it. Still feel like a bit of a fool though lol. I began to think yesterday that it might end up being something really simple, since all the usual stuff hadn't worked. Cheers again. 
Thanks very much for checking that out
- ouija
- WR.net Apprentice

- Posts: 6
- Joined: Thu Jun 25, 2009 11:05 am
Re: Unusual issue regarding locales
Not a problem, it's usually the stupid things that get us the best.
Glad it's working for you now.
Glad it's working for you now.
-

zanix - Admin

- WoWRoster.net Dev Team

- UA/UU Developer

- Posts: 5451
- Joined: Mon Jul 03, 2006 8:29 am
- Location: Pocatello, Idaho
- WoW Realm: Doomhammer,Rexxar
Read the Forum Rules, the WiKi, and Search before posting!
SigGen: v0.3.1.363 - WoWRoster: v2.0.2 Released! - WoWRosterDF: v2.0.2 Beta
SigGen: v0.3.1.363 - WoWRoster: v2.0.2 Released! - WoWRosterDF: v2.0.2 Beta
Re: Unusual issue regarding locales
Exactly. Brain goes into overdrive trying to find the most complicated solution. 
- ouija
- WR.net Apprentice

- Posts: 6
- Joined: Thu Jun 25, 2009 11:05 am
Re: Unusual issue regarding locales
ouija wrote:.... complicated solution.
This one wasn't really complicated - but hard to find ^^ (althoug my next test that I was about to propose would have found this one).
Another thing is : ftp programs never translate by default the case of file names.
IF yours does, ditch it right now....
-

tuigii - WR.net Master

- Posts: 888
- Joined: Wed Dec 27, 2006 12:57 pm
- Location: Somewhere in the South Ouest of France
- WoW Realm: EU-Khaz Modan
13 posts • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 0 guests
