Help - Search - Members - Calendar
Full Version: Help Plz
Zymic Webmaster Forums > Zymic Free Web Hosting > Zymic Free Web Hosting - General Discussion & Help
shababreosh
pls help i just install an script and while finished i go to admin cp
and it get this error
CODE
Warning: include() [function.include]: Unable to access /www//musicboxv2/sources/database.php in /www/zxq.net/s/h/a/shababreosh/htdocs/musicboxv2/sources/session.php on line 15

Warning: include(/www//musicboxv2/sources/database.php) [function.include]: failed to open stream: No such file or directory in /www/zxq.net/s/h/a/shababreosh/htdocs/musicboxv2/sources/session.php on line 15

Warning: include() [function.include]: Failed opening '/www//musicboxv2/sources/database.php' for inclusion (include_path='.:/usr/share/php') in /www/zxq.net/s/h/a/shababreosh/htdocs/musicboxv2/sources/session.php on line 15

Warning: include() [function.include]: Unable to access /www//musicboxv2/sources/mailer.php in /www/zxq.net/s/h/a/shababreosh/htdocs/musicboxv2/sources/session.php on line 16

Warning: include(/www//musicboxv2/sources/mailer.php) [function.include]: failed to open stream: No such file or directory in /www/zxq.net/s/h/a/shababreosh/htdocs/musicboxv2/sources/session.php on line 16

Warning: include() [function.include]: Failed opening '/www//musicboxv2/sources/mailer.php' for inclusion (include_path='.:/usr/share/php') in /www/zxq.net/s/h/a/shababreosh/htdocs/musicboxv2/sources/session.php on line 16

Warning: include() [function.include]: Unable to access /www//musicboxv2/sources/form.php in /www/zxq.net/s/h/a/shababreosh/htdocs/musicboxv2/sources/session.php on line 17

Warning: include(/www//musicboxv2/sources/form.php) [function.include]: failed to open stream: No such file or directory in /www/zxq.net/s/h/a/shababreosh/htdocs/musicboxv2/sources/session.php on line 17

Warning: include() [function.include]: Failed opening '/www//musicboxv2/sources/form.php' for inclusion (include_path='.:/usr/share/php') in /www/zxq.net/s/h/a/shababreosh/htdocs/musicboxv2/sources/session.php on line 17

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /www/zxq.net/s/h/a/shababreosh/htdocs/musicboxv2/sources/session.php:15) in /www/zxq.net/s/h/a/shababreosh/htdocs/musicboxv2/sources/session.php on line 41

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /www/zxq.net/s/h/a/shababreosh/htdocs/musicboxv2/sources/session.php:15) in /www/zxq.net/s/h/a/shababreosh/htdocs/musicboxv2/sources/session.php on line 41

Fatal error: Call to a member function addActiveGuest() on a non-object in /www/zxq.net/s/h/a/shababreosh/htdocs/musicboxv2/sources/session.php on line 92





so i want help pls
shababreosh
Hey i want to know answer pls
Cmain
No need to double post, many people are sleeping. Make sure that all directories and files are CHMODed correctly.
shababreosh
I will rty agian
thanks for replay

No the error still
Ed
Your path is incorrect:

correct path:
QUOTE
/www/zxq.net/s/h/a/shababreosh/htdocs/musicboxv2/


The path your script is using:
QUOTE
/www//musicboxv2/sources/


Once you replace that, your script should work.
shababreosh
sir Bread thank you too much the error has fixed and it was incorrect path as you said smile.gif
shababreosh
new error

CODE
Fatal error: Cannot use object of type Session as array in /www/zxq.net/s/h/a/shababreosh/htdocs/music/index.php on line 2692
shababreosh
sad.gif wher`s answer`s bread,alex
Alex
Not sure exactly how to explain it, the best way might be to show a smaller testcase which produces practically the same result.

CODE
<?php
class object { public $var; }
$object = new object();
$array = array(1,2,3,4,5);

echo $array[3]; // Works, outputs "4"
echo $object[3]; // Fails, "PHP Fatal error:  Cannot use object of type object as array..."

?>


So, what you've got is probably the same thing, but in a significantly more complex system, somewhere along the line someone is trying to use a variable containing an object (an instance of the Session class in this case) as an array.
shababreosh
i do not anderstood you but,
www.shababreosh.zxq.net/music

if you want my account and fix it to me pls i will be thanks

shababreosh
no way ???????
Ed
We are not here to fix your scripts. Alex has given you a clear as day answer to what is causing the problem, it is up to you to re-read it and understand it, then fix it.

If you've not written the script, then you should go back to the author of the script and request their assistance or read accompanying documentation, we will not and can not assist with 3rd party scripts, the author obviously knows more about their scripts than anyone else.
Chokyi Ooi
Bread is right, it is always advisable to return to the author of the script if we can't figure out how to fix it.
custard
QUOTE(Bread @ Nov 13 2007, 02:17 PM) *
Your path is incorrect:

correct path:
The path your script is using:
Once you replace that, your script should work.



how do i edit this please as i have the same problem.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2012 Invision Power Services, Inc.