Install error

Installation issues with WoWRoster

Install error

Postby Ulminia » Fri Jul 07, 2006 5:45 am

when i go to install.php i get a blank screen any one have any ideas? upgrade.php does the same thing
User avatar
Ulminia
WoWRoster.net Dev Team
WoWRoster.net Dev Team
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 1223
Joined: Tue Jul 04, 2006 4:41 pm
Location: New Brunswick, Canada
Realm: Zangarmarsh (PvE) - US
gmail/gtalk: ulminia@gmail.com

Install error

Postby MattM » Fri Jul 07, 2006 7:25 am

server configuration problem?
MattM
UA/UU Developer
UA/UU Developer
Gimpy Developer
Gimpy Developer
 
Posts: 886
Joined: Tue Jul 04, 2006 9:53 pm
Location: USA

Re: Install error

Postby Ulminia » Fri Jul 07, 2006 3:31 pm

i cant see how new server install apache 2 with pgp and sql 5
User avatar
Ulminia
WoWRoster.net Dev Team
WoWRoster.net Dev Team
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 1223
Joined: Tue Jul 04, 2006 4:41 pm
Location: New Brunswick, Canada
Realm: Zangarmarsh (PvE) - US
gmail/gtalk: ulminia@gmail.com

Install error

Postby zanix » Fri Jul 07, 2006 3:33 pm

Do you have error reporting turned on in php.ini?
Read the Forum Rules, the WiKi, and Search before posting!
WoWRoster v2.1 - SigGen v0.3.3.523 - WoWRosterDF
User avatar
zanix
Admin
Admin
WoWRoster.net Dev Team
WoWRoster.net Dev Team
UA/UU Developer
UA/UU Developer
 
Posts: 5543
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

Re: Install error

Postby deathbelch » Fri Jul 07, 2006 10:19 pm

I had the same issue. I made the files in install/templates readable by all and now I can see the install page.

Hope this helps.
deathbelch
WR.net Apprentice
WR.net Apprentice
 
Posts: 5
Joined: Wed Jul 05, 2006 6:37 pm

Re: Install error

Postby Ulminia » Fri Jul 07, 2006 10:19 pm

error_reporting = E_ALL & ~E_NOTICE
User avatar
Ulminia
WoWRoster.net Dev Team
WoWRoster.net Dev Team
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 1223
Joined: Tue Jul 04, 2006 4:41 pm
Location: New Brunswick, Canada
Realm: Zangarmarsh (PvE) - US
gmail/gtalk: ulminia@gmail.com

Re: Install error

Postby deathbelch » Fri Jul 07, 2006 10:31 pm

I also had to go into each subdirectory and give all the .php files read access.

For some reason "chmod a+rx -R *.php" this didn't get the job done.
deathbelch
WR.net Apprentice
WR.net Apprentice
 
Posts: 5
Joined: Wed Jul 05, 2006 6:37 pm

Re: Install error

Postby Ulminia » Fri Jul 07, 2006 11:18 pm

im running apache and php and sql on a windows xp pro machine to i dont need to set permishions...
User avatar
Ulminia
WoWRoster.net Dev Team
WoWRoster.net Dev Team
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 1223
Joined: Tue Jul 04, 2006 4:41 pm
Location: New Brunswick, Canada
Realm: Zangarmarsh (PvE) - US
gmail/gtalk: ulminia@gmail.com

Re: Install error

Postby ScratchMonkey » Fri Jul 07, 2006 11:33 pm

deathbelch wrote:I also had to go into each subdirectory and give all the .php files read access.

For some reason "chmod a+rx -R *.php" this didn't get the job done.


It wouldn't. Under Linux, "*" is expanded by the shell, not the command, so that "glob" (wildcard expression) matches only php files in the current directory.

To fix all files in subdirectories, use find:

find . -name \*.php -exec chmod a+r {} \;

Note that the PHP files don't need execute permission on Linux. That's only required for PHP scripts that will be run from the command line or X. Web PHP scripts need only read permission. (Perl, OTOH, does need execute permission for its scripts. Just to be pedantic. ;))
User avatar
ScratchMonkey
WR.net Expert
WR.net Expert
 
Posts: 212
Joined: Wed Jul 05, 2006 4:32 pm
Location: San Pablo, CA

Re: Install error

Postby deathbelch » Sat Jul 08, 2006 12:34 am

Thanks for the clarification, I was just going by what the install.txt file said :)

Back to the original poster's problem. I'm running on linux so I'm not sure how helpful this will be. I saw the same blank screen you described until I set the files to be readable by the webserver. I was able to get a few clues by setting "display_errors on" in my php.ini file and restarting the web server.

After I did that it spit out alot of useful debug information. In my case it pointed out that template.php was not readable by the server and in going through I found a number of directories and files that the server didn't have access to.

I haven't run apache on XP in awhile so I'm a little rusty there.
deathbelch
WR.net Apprentice
WR.net Apprentice
 
Posts: 5
Joined: Wed Jul 05, 2006 6:37 pm

Install error

Postby Ulminia » Sat Jul 08, 2006 7:21 am

wow ok did some changing in my php.ini and i got this lovly string of code
Warning: Template_Wrap::include_once(install/templates/install_header.html) [function.Template-Wrap-include-once]: failed to open stream: No such file or directory in D:\web_page\roster\install\template.php on line 196

Warning: Template_Wrap::include_once() [function.include]: Failed opening 'install/templates/install_header.html' for inclusion (include_path='C:\PHP\ext') in D:\web_page\roster\install\template.php on line 196

Warning: Template_Wrap::include_once(install/templates/install_step1.html) [function.Template-Wrap-include-once]: failed to open stream: No such file or directory in D:\web_page\roster\install\template.php on line 283

Warning: Template_Wrap::include_once() [function.include]: Failed opening 'install/templates/install_step1.html' for inclusion (include_path='C:\PHP\ext') in D:\web_page\roster\install\template.php on line 283

Warning: Template_Wrap::include_once(install/templates/install_tail.html) [function.Template-Wrap-include-once]: failed to open stream: No such file or directory in D:\web_page\roster\install\template.php on line 228

Warning: Template_Wrap::include_once() [function.include]: Failed opening 'install/templates/install_tail.html' for inclusion (include_path='C:\PHP\ext') in D:\web_page\roster\install\template.php on line 228
User avatar
Ulminia
WoWRoster.net Dev Team
WoWRoster.net Dev Team
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 1223
Joined: Tue Jul 04, 2006 4:41 pm
Location: New Brunswick, Canada
Realm: Zangarmarsh (PvE) - US
gmail/gtalk: ulminia@gmail.com

Re: Install error

Postby trollied » Sat Jul 08, 2006 7:06 pm

Ulminia wrote:wow ok did some changing in my php.ini and i got this lovly string of code
Warning: Template_Wrap::include_once(install/templates/install_header.html) [function.Template-Wrap-include-once]: failed to open stream: No such file or directory in D:\web_page\roster\install\template.php on line 196

Warning: Template_Wrap::include_once() [function.include]: Failed opening 'install/templates/install_header.html' for inclusion (include_path='C:\PHP\ext') in D:\web_page\roster\install\template.php on line 196



In your php.ini edit the line that says:

include_path='C:\PHP\ext'

so that it reads:

include_path='C:\PHP\ext;D:\web_page\roster'

Then restart apache.
trollied
WR.net Apprentice
WR.net Apprentice
 
Posts: 1
Joined: Tue Jul 04, 2006 6:42 pm

Install error

Postby Ulminia » Sat Jul 08, 2006 8:46 pm

brilient its working now:) my duild will be happy to be back up and running as long as i have no more issues
User avatar
Ulminia
WoWRoster.net Dev Team
WoWRoster.net Dev Team
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 1223
Joined: Tue Jul 04, 2006 4:41 pm
Location: New Brunswick, Canada
Realm: Zangarmarsh (PvE) - US
gmail/gtalk: ulminia@gmail.com


Return to Installation

Who is online

Users browsing this forum: No registered users and 0 guests

cron