Welcome, Guest
Please Login or Register.    Lost Password?

Problems installing on WAMP server.
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Problems installing on WAMP server.
#3861
Problems installing on WAMP server. 4 Months, 2 Weeks ago Karma: 0
I’m a bit embarrassed to be writing asking for help so soon but I’m stuck!

I have a fresh install of WAMP on a fresh XP machine. I loaded OWL into the www directory and I get the following error.

Warning: require_once(C:\/phplib/db_mysql.inc) [function.require-once]: failed to open stream: No such file or directory in C:\wamp\www\config\owl.php on line 284

Fatal error: require_once() [function.require]: Failed opening required 'C:\/phplib/db_mysql.inc' (include_path='.;C:\php5\pear') in C:\wamp\www\config\owl.php on line 284

I am guessing that I have screwed up in owl.php but what did I miss?

Now I’m no PHP expert or MsSQL guru but what have I done wrong – please..

Regards Duncan
Duncan Guy
Fresh Boarder
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#3868
Re:Problems installing on WAMP server. 4 Months, 2 Weeks ago Karma: 27
Hi,

yes something in your owl.php file is not right.

What did you set your owl_root to? Look for the require_once/ db_ mysql.inc line ensure that all variables use in that line are defined correctly for your instal.

B0zz
Owl DEV Team
Moderator
Posts: 2146
graph
User Offline Click here to see the profile of this user
Gender: Male b0zzit Location: Ottawa, Ontario, Canada
The administrator has disabled public write access.
 
#3873
Re:Problems installing on WAMP server. 4 Months, 2 Weeks ago Karma: 0
You are/were quite right. I had made a mistake in owl.php in line 48.

It now reads $default->owl_fs_root = "C:\wamp\www";

However I now get the response:

Warning: mysql_pconnect() [function.mysql-pconnect]: Access denied for user 'SYSTEM'@'localhost' (using password: NO) in C:\wamp\www\phplib\db_mysql.inc on line 77
: pconnect(localhost, root, $Password) failed.
: 1045 (Access denied for user 'SYSTEM'@'localhost' (using password: NO))
Session halted.

Localhost is the server.
root is the correct user with no password.

I am also confused what the default name for the database should be. I can see that it's owl096 is the mysql-tables.sql but I read that it should be "intranet" in the documentation. Just to sure I imported the tables into both!

Regards Duncan
Duncan Guy
Fresh Boarder
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#3876
Re:Problems installing on WAMP server. 4 Months, 2 Weeks ago Karma: 27
Hi,

the message would indicate that mysql security doesn't allow that user to connect from localhost. Check the mysql docmentation for grant and flush privilege.

The database name doesn't matter really as long as the physical name of the database matches what you have defined in the owl.php file.

B0zz
Owl DEV Team
Moderator
Posts: 2146
graph
User Offline Click here to see the profile of this user
Gender: Male b0zzit Location: Ottawa, Ontario, Canada
The administrator has disabled public write access.
 
#3879
Re:Problems installing on WAMP server. 4 Months, 2 Weeks ago Karma: 0
I deleted the Db and created new. - that fixed the MySQL rights issue.

I then reloaded the web site back into www and found the issue. It was in the $default->owl_root_url ="/owl-1.00"; on line 36 int the owl.php file. As you guess right from the start! Once I correct this to "." I could get to the login screen.

The give away was when I looked at the $default array I could see that the graphics url was wrong.

I still have some missing graphics and the admin screen is looking for /admin/graphics directories that don't exist but we're on the way. I'll open another thread for these issue if necessary since it's installed.

Thanks for all the help.
Duncan Guy
Fresh Boarder
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#3880
Re:Problems installing on WAMP server. 4 Months, 2 Weeks ago Karma: 27
Root URL of "." will probably cause you issues in the future, probably the cause of your missing images.

B0zz
Owl DEV Team
Moderator
Posts: 2146
graph
User Offline Click here to see the profile of this user
Gender: Male b0zzit Location: Ottawa, Ontario, Canada
The administrator has disabled public write access.
 
#3881
Re:Problems installing on WAMP server. 4 Months, 2 Weeks ago Karma: 0
You are once again correct. The dot caused and issue. Once I replaced it with a "" <empty string> I got a much nicer and faster page.
Duncan Guy
Fresh Boarder
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#3882
Re:Problems installing on WAMP server. 4 Months, 2 Weeks ago Karma: 27
Great :)

B0zz
Owl DEV Team
Moderator
Posts: 2146
graph
User Offline Click here to see the profile of this user
Gender: Male b0zzit Location: Ottawa, Ontario, Canada
The administrator has disabled public write access.
 
Go to topPage: 1

Ad Block