PDA

View Full Version : HELP!! Upload? Connect? PHP?


AutoRN
08-05-2005, 04:33 PM
I am using the paid version of PHP Magic and have created a database, converted to PHP and uploaded it to the website server.

Now what?

I can acces via FTP and everything is there. I access MySQL that is hosted on the server and see nothing there.

How do I connect the database to my website? I have business directory in a database and would like it on my website to both list the existing directory and then offer for a new business to add themselves.

What am I missing?

Thanks!

xacto
08-05-2005, 08:04 PM
Have you ran the setup.php file. Yoursite.com/setup/setup.php
Your path on your web space may differ.

AutoRN
08-05-2005, 10:42 PM
I ran the setup file and this is what it gave me:

Warning: main(../language.php): failed to open stream: No such file or directory in /home/content/n/e/w/newautorn/html/db/setup/setup.php on line 6

Warning: main(../language.php): failed to open stream: No such file or directory in /home/content/n/e/w/newautorn/html/db/setup/setup.php on line 6

Warning: main(): Failed opening '../language.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/content/n/e/w/newautorn/html/db/setup/setup.php on line 6

Done ...

xacto
08-07-2005, 10:45 AM
Take a look at this thread -

http://www.websitedatabases.com/database-forum/showpost.php?p=3&postcount=2

Confusion
02-02-2006, 12:06 PM
I am new to MySQL so what I'm going to ask may sound kind of dumb. I have created my database complete with tables and primary key. And I know I need to upload it to my web server - but where exactly is that? Do I put it in the same directory as MySQL data folder or do I put it on the same folder as my intranet pages are?

Also, when running the setup script, when I put in the path of the setup/setup.php, I get the HTTP error 404. What am I doing wrong? :confused:

twenty1
02-02-2006, 05:14 PM
Okay, you generated your files.

Create folder on your webserver using your ftp software. For exampel create a folder named projectdb.

Upload the generated files and setup folder to the projectdb new directory.

Now launch-> yourdomain.com/projectdb/setup/setup.php

thats it..

Confusion
02-14-2006, 01:37 PM
What is ftp software? And what do I need to have configured in IIS and MySQL to make this work? I have had two MSCE's look at this and have basically thrown up their hands and walked away from it.

clifford
02-15-2006, 10:57 AM
MSCE's look at this and have basically thrown up their hands and walked away from itObviously they no nothing about running a web server...

"What is ftp software"
FTP software is used to upload files back and forth from a web server. There are tons of free ones on the internet. How did you upload your website files to begin with? It appears you have not ran a webpage on a webserver before.

You should take the time to read the help file within the software also. ;)

Confusion
02-15-2006, 01:27 PM
There was no need to upload files as the files are to be used on an intranet. I have shared the folders which contain the files, PHP and MySQL but I'm now getting "the specified procedure could not be found."