Web Hosting Talk







View Full Version : Need Help to fix Error


roja
01-25-2008, 07:44 PM
Hello.

I am getting error with installation of my new site , need to fix a problem that i cant understand so need some help.
Can some one please help me to solve this problem>?

Here is the error that i am getting .

Please Click Here (http://www.bollyvids.net/siteadmin)

Thanks

Daniel_G
01-25-2008, 09:13 PM
Warning: require_once() [function.require-once]: open_basedir restriction in effect.

Looks like your host is restricting use of that function. But I am not a PHP guru, so a second opinion would be good...

cheyenne1212
01-25-2008, 10:01 PM
You either need to turn off open_basedir for that site..or most likely change the script so that instead of using.


home/domains/bollyvids.net/public_html//smarty/libs/Smarty.class.php

you use

../smarty/libs/Smarty.class.php



Try that.

roja
01-26-2008, 04:04 AM
hi thanks for replying.
still not working at all.
any more help please .
thanks

tix3
01-26-2008, 06:27 AM
Contact your server admin /hosting provider to change the congiguration and add your path to the allowed paths.

Dark Light
01-26-2008, 07:14 AM
I'm going to assume that the application in question was installed successfully but it is now not working for configuration/settings reasons.

If you open your config.php file look for something like this line:
/home/domains/bollyvids.net/public_html/

See if changing it to:
/home/bollyvids.net/domains/public_html/

Makes any difference. I think you may have miss-typed your file path when installing the application, as generally open_basedir would be configured correctly in most situations and doesn't need modifying.

Thanks,

roja
01-26-2008, 08:05 AM
HI.

I checked but thease paths are correctly filled.
If some one can help than i can attach config.php and also any other file that needed to check.

Please

Thanks

cprs
01-26-2008, 09:08 AM
/home/domains/bollyvids.net/public_html//smarty/libs/Smarty.class.php
Why you are including "public_html//smarty"? try public_html/smarty

roja
01-26-2008, 09:28 AM
hi.

i did but same error ..

please any other sugession.

thanks

Website Rob
01-26-2008, 09:33 AM
Looks like the path(s) used are not correct.

Error msg. shows you are using this:
/home/domains/bollyvids.net/public_html/

When you should be using this:
/home/bollyvids/domains/bollyvids.net/public_html/


If not sure what your 'root' path is, use this code to find out.
<?php echo $_SERVER['DOCUMENT_ROOT']; ?>

roja
01-26-2008, 09:41 AM
Website Rob...

thanks man its work but now the admin login details are not working .
I used login details that are provided by vendor but it says "Invalid Username and/or Password Provided"

Can you please also help me to solve this issue ??

Please

Thanks again

Website Rob
01-26-2008, 09:45 AM
Not knowing what script you are using but presume a database is involved, you can check the database for the Table with Admin info.

Or delete the database and reinstall it.

Or contact the Vendor about the problem.

roja
01-26-2008, 10:17 AM
HI.

i have changed the password.
Now getting this error in admin cp .

Call to a member function recordcount() on a non-object in /home/bollyvids/domains/bollyvids.net/public_html/siteadmin/videos.php on line 128






I checked line 128 but dont understand.

how can i fix it?

please any idea.

thanks

Codebird
01-26-2008, 12:59 PM
well you're calling a class function but not with a class object

roja
01-26-2008, 03:23 PM
can you tell me that how can i fix this issue.?

thanks

Codebird
01-26-2008, 03:27 PM
you have class that contains this function recordcount(); let us consider the class's name is class_name then the code should be like that:

class_name class_object;
class_object->recordcount();

roja
01-26-2008, 05:55 PM
can u (or any) fix it please ?

i tried at line 128 as you told but still errors.

If you can istall than i can provide u FTP details and please do it.
And i will pay u installation fee as well .

Thanks

Codebird
01-26-2008, 05:59 PM
what should we install?

roja
01-26-2008, 06:03 PM
here are script demos so u can see.

Main Page (http://www.alstrahost.com/videoshare/)

Admin CP (http://www.alstrahost.com/videoshare/siteadmin/login.php) Admin CP pass&username are >> admin

Codebird
01-26-2008, 06:21 PM
nothing wrong there!!!

Codebird
01-26-2008, 06:34 PM
I advise you to delete your post about the username and password

roja
01-26-2008, 06:50 PM
no its ok because its provided by vendor. its not my site ACp so there is no problem at all..

Codebird
01-26-2008, 06:54 PM
ok but I checked the pages you linked there is no error there so I don't know!!!

roja
01-26-2008, 06:59 PM
yes because thease are only demos , not my site , u guys can see how this software is working so may you guys can understand and help me a bit better.