Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> BUGS/FIXES - Raven's v7.3 Customized Distro
Author Message
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Sun Jul 18, 2004 6:27 pm Reply with quote

To those that had installer woes, please download this file and replace yours and see if that fixes it. Let me know. And please just don't say things like "Nope. Didn't help". because I will say "hmmmmm". Laughing
 
View user's profile Send private message
sharlein
Member Emeritus



Joined: Nov 19, 2002
Posts: 322
Location: On the Road

PostPosted: Sun Jul 18, 2004 7:59 pm Reply with quote

This is the screen I got after installing the new index.php
Code:
===========

localhost
****
****
===========

Connected successfully to your MySQL Server!

Unable to connect to MySQL database mysql with these credentials: Access denied for user: 'sharlein_sharlei@localhost' to database 'mysql'

There is nothing else on that page. Smile

_________________
Give Me Ambiguity Or Give Me Something Else! 
View user's profile Send private message
Raven







PostPosted: Sun Jul 18, 2004 8:13 pm Reply with quote

Hopefully I edited that in time so that no one saw that info Smile
 
sharlein







PostPosted: Sun Jul 18, 2004 8:48 pm Reply with quote

Thank you very much. Embarassed RavensScripts
 
Raven







PostPosted: Sun Jul 18, 2004 10:30 pm Reply with quote

Well, I have discovered that it works in Windows but not in Linux, so that explains why I wasn't able to reproduce it. Now to figure out why ......
 
Raven







PostPosted: Sun Jul 18, 2004 11:15 pm Reply with quote

Okay, I've got this working, I hope/think, under Linux. Please try d/l it again and running it.
 
Raven







PostPosted: Mon Jul 19, 2004 9:33 am Reply with quote

Steve and GeekyGuy:

Have you downloaded and tried the new installer?
 
CodyG
Life Cycles Becoming CPU Cycles



Joined: Jan 02, 2003
Posts: 714
Location: Vancouver Island

PostPosted: Tue Jul 20, 2004 8:42 am Reply with quote

The new installer worked better, but I still found it a little confusing. It seems it didn't like the fact that I had set up the db in cpanel, the installer complained that the db already existed, but how was I suppose to give permissions to user without a db?

Not sure what the line 66 is about either.



Connected successfully to your MySQL Server!


Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/cody/public_html/install/index.php on line 66

Note: This user does not have Create Database Permissions for this MySQL server. Either select another user/pass combination or you will need to create the database first and then come back to this utility to create the tables.


And despite all that, after I chose replace the db, all 124 tables were created and populated!

_________________
"We want to see if life is ubiquitous." D.Goldin 
View user's profile Send private message
Raven







PostPosted: Tue Jul 20, 2004 11:16 pm Reply with quote

It worked exactly as designed. Connecting to the server does not mean that you have any permissions. It just means that MySQL can be connected to. I agree that the FINAL version needs polishing, but this was to test the functionality. Thanks.
 
CodyG







PostPosted: Tue Jul 20, 2004 11:42 pm Reply with quote

One more thing... I checked in phpmyadmin... and I have 125 tables! How did I get an extra one? I'm sure the installer said 124.
 
Raven







PostPosted: Tue Jul 20, 2004 11:53 pm Reply with quote

Well, since I do not have a crystal ball to look into YOUR phpMyAdmin, my guess would be if you are using the Who Is Where block, the first time you accessed your site it created a HEAP table called nuke_wiw_m
 
CodyG







PostPosted: Wed Jul 21, 2004 2:01 am Reply with quote

ahhhhhhhhh... interesting. Thanks.
 
Tao_Man
Involved
Involved



Joined: Jul 15, 2004
Posts: 252
Location: OKC, OK

PostPosted: Wed Jul 21, 2004 10:03 am Reply with quote

I found out something, when I used phpMyAdmin it would not create the nuke_wiw_m one but when I went stright to MySql it would create it.

To new to this to know why but just thought I would throw that out as an FYI.

_________________
------------------------------------------
To strive, to seek, to find, but not to yield!
I don't know Kara-te but I do know cra-zy, and I WILL use it! 
View user's profile Send private message Visit poster's website
Raven







PostPosted: Wed Jul 21, 2004 10:54 am Reply with quote

Yes, I need to contact the phpMyAdmin author. He has a bug Surprised
 
Mesum
Useless



Joined: Aug 23, 2002
Posts: 213
Location: Chicago

PostPosted: Sat Oct 02, 2004 10:13 pm Reply with quote

How do you guys make those install files? Do you hand code every single file of it ot is there a tool to drop SQL file and get an install file?
 
View user's profile Send private message Visit poster's website
Raven







PostPosted: Sat Oct 02, 2004 10:20 pm Reply with quote

Depends on several factors, but once you have the table designed and working, you just dump the table schema and then you wrap the SQL in PHP code. That's really high level, but that's usually the premise.
 
Mesum







PostPosted: Sat Oct 02, 2004 10:37 pm Reply with quote

Can I by any chance see an example on how to code one based on an SQL table.
 
Mesum







PostPosted: Sat Oct 02, 2004 10:38 pm Reply with quote

My "PHP for Dummies" doesn't show me how to do that Very Happy
 
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> BUGS/FIXES - Raven's v7.3 Customized Distro

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©