Install Errors [solved]

Installation issues with WoWRoster

Install Errors [solved]

Postby Lorkam » Sun May 10, 2009 1:59 pm

I tried getting this up and running for a few hours but getting many errors. I tried searching the forums too I found some posts similar but the one post their host was using a linux server so they had to change permissions on the folders and files but my hosting server is a windows server and found out from google windows servers don't support chmod 777 or 666. Here are the errors if you have suggestions would appreciate your help. I already created a mysql database as well. I did edit the conf file as it asked below and this is the screen errors. it did populate the mysql database with the required files that I can see. I'm gonna get some shut eye though so will be back later. Happy Mothersday everyone!

Warning: fopen(D:\Hosting\4362318\html\cache\tpl_install_install_message.html.inc) [function.fopen]: failed to open stream: Permission denied in D:\Hosting\4362318\html\lib\functions.lib.php on line 1276

Warning: Cannot open file (D:\Hosting\4362318\html\cache\tpl_install_install_message.html.inc) in D:\Hosting\4362318\html\lib\functions.lib.php on line 1278

Warning: fopen(D:\Hosting\4362318\html\cache\tpl_install_install_header.html.inc) [function.fopen]: failed to open stream: Permission denied in D:\Hosting\4362318\html\lib\functions.lib.php on line 1276

Warning: Cannot open file (D:\Hosting\4362318\html\cache\tpl_install_install_header.html.inc) in D:\Hosting\4362318\html\lib\functions.lib.php on line 1278
WoWRoster Logo
WoWRoster Installation
Step 3

Warning: fopen(D:\Hosting\4362318\html\cache\tpl_install_install_message.html.inc) [function.fopen]: failed to open stream: Permission denied in D:\Hosting\4362318\html\lib\functions.lib.php on line 1276

Warning: Cannot open file (D:\Hosting\4362318\html\cache\tpl_install_install_message.html.inc) in D:\Hosting\4362318\html\lib\functions.lib.php on line 1278
Installation Errors
NOTICE

The conf.php file couldn't be opened for writing. Paste the following in to conf.php and save the file to continue:

<?php
/**
* AUTO-GENERATED CONF FILE
* DO NOT EDIT !!!
*/

$db_config['host'] = 'changed here for security';
$db_config['username'] = 'username changed here for security";
$db_config['password'] = 'password changed here for security';
$db_config['database'] = 'changed here for security;
$db_config['table_prefix'] = 'roster_';
$db_config['dbtype'] = 'mysql';



Warning: fopen(D:\Hosting\4362318\html\cache\tpl_install_install_step3.html.inc) [function.fopen]: failed to open stream: Permission denied in D:\Hosting\4362318\html\lib\functions.lib.php on line 1276

Warning: Cannot open file (D:\Hosting\4362318\html\cache\tpl_install_install_step3.html.inc) in D:\Hosting\4362318\html\lib\functions.lib.php on line 1278
Administrator Account Configuration
Administrator password:
Administrator password [ confirm ]:


Warning: fopen(D:\Hosting\4362318\html\cache\tpl_install_install_tail.html.inc) [function.fopen]: failed to open stream: Permission denied in D:\Hosting\4362318\html\lib\functions.lib.php on line 1276

Warning: Cannot open file (D:\Hosting\4362318\html\cache\tpl_install_install_tail.html.inc) in D:\Hosting\4362318\html\lib\functions.lib.php on line 1278
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
database


roster_account 0 MyISAM utf8_general_ci 1.0 KiB -
roster_addon 0 MyISAM utf8_general_ci 1.0 KiB -
roster_addon_config 0 MyISAM utf8_general_ci 1.0 KiB -
roster_buffs 0 MyISAM utf8_general_ci 1.0 KiB -
roster_config 102 MyISAM utf8_general_ci 8.2 KiB -
roster_gems 0 MyISAM utf8_general_ci 1.0 KiB -
roster_guild 0 MyISAM utf8_general_ci 1.0 KiB -
roster_items 0 MyISAM utf8_general_ci 1.0 KiB -
roster_mailbox 0 MyISAM utf8_general_ci 1.0 KiB -
roster_memberlog 0 MyISAM utf8_general_ci 1.0 KiB -
roster_members 0 MyISAM utf8_general_ci 1.0 KiB -
roster_menu 4 MyISAM utf8_general_ci 3.1 KiB -
roster_menu_button 3 MyISAM utf8_general_ci 3.2 KiB -
roster_pets 0 MyISAM utf8_general_ci 2.0 KiB -
roster_players 0 MyISAM utf8_general_ci 2.0 KiB -
roster_quests 0 MyISAM utf8_general_ci 1.0 KiB -
roster_realmstatus 0 MyISAM utf8_general_ci 1.0 KiB -
roster_recipes 0 MyISAM utf8_general_ci 1.0 KiB -
roster_reputation 0 MyISAM utf8_general_ci 1.0 KiB -
roster_skills 0 MyISAM utf8_general_ci 1.0 KiB -
roster_spellbook 0 MyISAM utf8_general_ci 1.0 KiB -
roster_spellbooktree 0 MyISAM utf8_general_ci 1.0 KiB -
roster_spellbook_pet 0 MyISAM utf8_general_ci 1.0 KiB -
roster_talents 0 MyISAM utf8_general_ci 1.0 KiB -
roster_talenttree 0 MyISAM utf8_general_ci 1.0 KiB -
roster_upload 0 MyISAM utf8_general_ci 1.0 KiB -
roster_webdb_cache 0 MyISAM utf8_general_ci 1.0 KiB -
Last edited by Lorkam on Mon May 11, 2009 10:47 pm, edited 1 time in total.
Roster Version 2.0.2
Roster Guild Deathbringershttp://deathbringer.us/(a)roster/
Roster Guild Deathbringer(new roster template) http://deathbringer.us/(h)roster/
Guild site hosted and templated by WoWGuilds.ca (highly recommend) http://deathbringers.us/
Image
User avatar
Lorkam
WR.net Apprentice
WR.net Apprentice
 
Posts: 37
Joined: Mon Jul 10, 2006 12:21 pm

Re: Install Errors

Postby zanix » Sun May 10, 2009 6:45 pm

It seems that the roster/cache/ directory is not writable on your server
I would ask your host about permissions, since I'm not quite sure how to accomplish this on a windows server that you don't have control over
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: 5546
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

Re: Install Errors

Postby Lorkam » Sun May 10, 2009 7:04 pm

oh snap you are good zanix. Yea I rechecked my hosting control panel and sure enough their is a small box at top of heading giving me full read and write control over all files and folders. I did do this earlier but somehow missed that button thanks man.
User avatar
Lorkam
WR.net Apprentice
WR.net Apprentice
 
Posts: 37
Joined: Mon Jul 10, 2006 12:21 pm

Re: Install Errors

Postby Lorkam » Sun May 10, 2009 10:44 pm

Alright here is another problem apparently I can edit the conf file but can't edit and set the permissions and narrowed it down to the windows server it is hosted on and needs mod-rewrite enables in the .htaccess file.

Here is a quote from my hosting provider help file..

Mod_rewrite is an Apache web server module installed on all of our Linux servers by default; it does not have to be installed or enabled. Our Linux hosting accounts support most mod_rewrite functionality.

You do not need to enable mod_rewrite in your httpd.conf, as this is handled at a global level. All you need to do is add the desired code to the body of your .htaccess file.


Now I looked in the .htaccess file and it seems there is some code in there. I guess I have to figure out how to enable and what code to use to enable mod_rewrite so I can set permissions to my .php file. SO I have two choices one do some reading and hope I can find the answer easily or option 2. change my hosting plan to a linux server instead of a windows server. Any of you know what code is needed here?
Roster Version 2.0.2
Roster Guild Deathbringershttp://deathbringer.us/(a)roster/
Roster Guild Deathbringer(new roster template) http://deathbringer.us/(h)roster/
Guild site hosted and templated by WoWGuilds.ca (highly recommend) http://deathbringers.us/
Image
User avatar
Lorkam
WR.net Apprentice
WR.net Apprentice
 
Posts: 37
Joined: Mon Jul 10, 2006 12:21 pm

Re: Install Errors

Postby PleegWat » Sun May 10, 2009 11:08 pm

Mod_rewrite is not related to this, it has to do with being able to use 'pretty urls', like 'roster/members/memberslist/a=g:1' instead of 'roster/index.php?p=members-memberslist&a=g:1'.

Your problem looks like some kind of security measure. The 'conf.php' file can be manually created if needed. The cache directory, however, needs to be writable, and files put there by roster need to be executable as PHP scripts by later calls to roster.
I <3 /bin/bash
User avatar
PleegWat
WoWRoster.net Dev Team
WoWRoster.net Dev Team
 
Posts: 1636
Joined: Tue Jul 04, 2006 1:43 pm

Re: Install Errors

Postby Lorkam » Mon May 11, 2009 4:51 am

Thanks for the reply. I did create a conf.php file and updated it with the info roster spit out at me. So then I go to restart the installation and I get the same error. That it can't write to the conf.php file. I manually set the permissions in properties of the conf.php to allow read and write access to all users before I uploaded it to the server too. So not sure whats going on.

I can set permissions to folders(but not files) in my server control panel so I set the permissions to the cache directory folder and all the errors went away and now atleast I can get to step 3. But then like I said it is giving me the error it can't read conf.php file. Thanks for helping me out guys appreciate it.
Roster Version 2.0.2
Roster Guild Deathbringershttp://deathbringer.us/(a)roster/
Roster Guild Deathbringer(new roster template) http://deathbringer.us/(h)roster/
Guild site hosted and templated by WoWGuilds.ca (highly recommend) http://deathbringers.us/
Image
User avatar
Lorkam
WR.net Apprentice
WR.net Apprentice
 
Posts: 37
Joined: Mon Jul 10, 2006 12:21 pm

Re: Install Errors

Postby Lorkam » Mon May 11, 2009 5:04 am

zanix wrote:It seems that the roster/cache/ directory is not writable on your server
I would ask your host about permissions, since I'm not quite sure how to accomplish this on a windows server that you don't have control over


Yea I can transfer for free from a windows server to a linux server and that is the route I'm thinking of going.
Roster Version 2.0.2
Roster Guild Deathbringershttp://deathbringer.us/(a)roster/
Roster Guild Deathbringer(new roster template) http://deathbringer.us/(h)roster/
Guild site hosted and templated by WoWGuilds.ca (highly recommend) http://deathbringers.us/
Image
User avatar
Lorkam
WR.net Apprentice
WR.net Apprentice
 
Posts: 37
Joined: Mon Jul 10, 2006 12:21 pm

Re: Install Errors

Postby Anaxent » Mon May 11, 2009 5:21 am

because roster is built based on php a linux server will allow you to take full advantage of Roster.
User avatar
Anaxent
WoWRoster.net Dev Team
WoWRoster.net Dev Team
 
Posts: 642
Joined: Tue Jul 04, 2006 6:27 am
Location: Phoenix, Az

Re: Install Errors

Postby Lorkam » Mon May 11, 2009 6:02 am

Anaxent wrote:because roster is built based on php a linux server will allow you to take full advantage of Roster.


That is excellent news then I just started the transfer from a windows server to a linux server. Not sure why I went with a windows server to begin with because when I added the hosting package to my cart it was for a linux server but changed my mind. Go figure though. Thanks for the help guys.
Roster Version 2.0.2
Roster Guild Deathbringershttp://deathbringer.us/(a)roster/
Roster Guild Deathbringer(new roster template) http://deathbringer.us/(h)roster/
Guild site hosted and templated by WoWGuilds.ca (highly recommend) http://deathbringers.us/
Image
User avatar
Lorkam
WR.net Apprentice
WR.net Apprentice
 
Posts: 37
Joined: Mon Jul 10, 2006 12:21 pm

Re: Install Errors

Postby Lorkam » Mon May 11, 2009 10:47 pm

One last post in this thread my transfer from my host went through ,I transferred from a windows server to a linux server and had absolutely no issues with installing roster on my site. Thanks again guy and I will edit main post to put [solved] in the heading.
Roster Version 2.0.2
Roster Guild Deathbringershttp://deathbringer.us/(a)roster/
Roster Guild Deathbringer(new roster template) http://deathbringer.us/(h)roster/
Guild site hosted and templated by WoWGuilds.ca (highly recommend) http://deathbringers.us/
Image
User avatar
Lorkam
WR.net Apprentice
WR.net Apprentice
 
Posts: 37
Joined: Mon Jul 10, 2006 12:21 pm

Re: Install Errors [solved]

Postby zanix » Tue May 12, 2009 12:48 am

Cool :thumright:
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: 5546
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

Re: Install Errors [solved]

Postby tuigii » Tue May 12, 2009 10:37 am

WoWRoster can run on a Windows server.
From what I know, Ulminia runs a server like that.
As any site server OS, all depends on the settings. True is that a Linux/Apache/MySQL combination is more classic.
User avatar
tuigii
WR.net Master
WR.net Master
 
Posts: 891
Joined: Wed Dec 27, 2006 12:57 pm
Location: Somewhere in the South Ouest of France

Re: Install Errors [solved]

Postby zanix » Wed May 13, 2009 2:04 am

AnthonyB also runs Roster on a IIS server and very successfully as well
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: 5546
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US


Return to Installation

Who is online

Users browsing this forum: No registered users and 1 guest