error help cheers

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
salma
Forum Newbie
Posts: 7
Joined: Sun Jul 18, 2004 7:10 pm

error help cheers

Post by salma »

i install a template, now i get this message what am i doin wrong
how to fix it

thank you

also i'm confused what is this /san/

Warning: main(/var/www/html/san/platinums/include/common.php): failed to open stream: No such file or directory in /home2/x/public_html/index.php on line 7

Warning: main(): Failed opening '/var/www/html/san/platinums/include/common.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home2/x/public_html/index.php on line 7
User avatar
Joe
Forum Regular
Posts: 939
Joined: Sun Feb 29, 2004 1:26 pm
Location: UK - Glasgow

Post by Joe »


Warning: main(/var/www/html/san/platinums/include/common.php): failed to open stream: No such file or directory in /home2/x/public_html/index.php on line 7
Does the file even exist in the /include/ directory?
salma
Forum Newbie
Posts: 7
Joined: Sun Jul 18, 2004 7:10 pm

Post by salma »

common.php yes
User avatar
Joe
Forum Regular
Posts: 939
Joined: Sun Feb 29, 2004 1:26 pm
Location: UK - Glasgow

Post by Joe »

also i'm confused what is this /san/
/san/ is just another directory. The file common.php does not exist so I suggest having a look at:

/var/www/html/san/platinums/include/

and comparing it against your actual directory structure. Perhaps /san/ does not exist as a directory or any other directory it is attempting to tunnel through for that matter.
salma
Forum Newbie
Posts: 7
Joined: Sun Jul 18, 2004 7:10 pm

Post by salma »

i do not have a directory called /san/

but i have found that common.php files, its in the directory include

www/html/include/
User avatar
Joe
Forum Regular
Posts: 939
Joined: Sun Feb 29, 2004 1:26 pm
Location: UK - Glasgow

Post by Joe »

Well I think you will need to edit the file which is causing this error so that the directory structure can combine with the scripting!
salma
Forum Newbie
Posts: 7
Joined: Sun Jul 18, 2004 7:10 pm

Post by salma »

feyd | Please use

Code: Select all

tags when posting code. Read:  [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url][/color]

Code: Select all

<?
$dat_base_path="/var/www/html/san/platinums";
$dat_base_url="http://192.168.0.2/san/platinums";
$dat_dbhost="localhost";
$dat_dbuser="root";
$dat_dbpasswd="";
$dat_dbname="platinumtest";
$dat_table_prefix="platinum_1_";
?>
i,m confused
aint sure how to make change to link to mine

http://mydomain.com/public_html/


feyd | Please use

Code: Select all

tags when posting code. Read:  [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url][/color]
salma
Forum Newbie
Posts: 7
Joined: Sun Jul 18, 2004 7:10 pm

Post by salma »

Access denied for user: 'root@localhost' (Using password: NO)

i get this message now
what do i do
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

root either requires a password, or doesn't exist. If this is on your host, you more than likely have your own user(s) for sql, they shouldn't have given you root access...
Post Reply