Page 1 of 1

error help cheers

Posted: Tue Jul 20, 2004 9:11 pm
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

Posted: Tue Jul 20, 2004 9:13 pm
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?

Posted: Tue Jul 20, 2004 9:15 pm
by salma
common.php yes

Posted: Tue Jul 20, 2004 9:19 pm
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.

Posted: Tue Jul 20, 2004 9:25 pm
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/

Posted: Tue Jul 20, 2004 9:37 pm
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!

Posted: Wed Jul 21, 2004 9:00 am
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]

Posted: Fri Jul 23, 2004 12:48 pm
by salma
Access denied for user: 'root@localhost' (Using password: NO)

i get this message now
what do i do

Posted: Fri Jul 23, 2004 12:57 pm
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...