Log in

View Full Version : problem with loading member profiles ,getting error


puregraf
10-26-2007, 03:38 PM
Hi, i have no idea why im getting this error, but i tried to get help from photopost and vbulletin and neither of them will help me

i hope someone can help me, i just want to fix this problem, it looks like its calling a path that doesnt exist on my server : /var/www/html/gallery/config-int.php

i do have a gallery and a config.int.php but the path is: /home/puregraf/public_html/graffiti-gallery/config-int.php

but i have no clue where i can go to edit this path that it is calling

can someone please help , i am getting this error when trying to access member profiles on both vbulletin and photopost

thank you for your kindness!

Warning: Unknown(): open_basedir restriction in effect. File(/var/www/html/gallery/config-int.php) is not within the allowed path(s): (/home/puregraf/:/usr/lib/php:usr/php4/lib/php:/usr/local/lib/php:/usr/local/php4/lib/php:/tmp) in /member.php(838) : eval()'d code on line 4

Warning: Unknown(/var/www/html/gallery/config-int.php): failed to open stream: Operation not permitted in /member.php(838) : eval()'d code on line 4

Warning: Unknown(): open_basedir restriction in effect. File(/var/www/html/gallery/config-int.php) is not within the allowed path(s): (/home/puregraf/:/usr/lib/php:usr/php4/lib/php:/usr/local/lib/php:/usr/local/php4/lib/php:/tmp) in /member.php(838) : eval()'d code on line 4

Warning: Unknown(/var/www/html/gallery/config-int.php): failed to open stream: Operation not permitted in /member.php(838) : eval()'d code on line 4

Fatal error: (null)() [function.require]: Failed opening required '/var/www/html/gallery/config-int.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/puregraf/public_html/graffiti-space/member.php(838) : eval()'d code on line 4

calorie
10-26-2007, 03:42 PM
There is a plugin at the member_complete hook that probably has the wrong path set. Instead of /var/www/html/gallery/config-int.php try /home/puregraf/public_html/gallery/config-int.php and see if that works.

puregraf
10-26-2007, 03:50 PM
thanks i will try now

calorie
10-26-2007, 03:51 PM
Go to the vB ACP -> Plugins & Products -> Plugin Manager and look for any plugin using the member_complete hook.

puregraf
10-26-2007, 04:05 PM
you!!! thanks so much, fixed my problem

puregraf
10-31-2007, 04:47 PM
i just noticed this, but viewing the user profiles works fine if you are inside a thread and from a users post, click on the users name and a drop down small menu comes down and you select view profile from there

but if you click on a username from anywhere else on the forum such as the forum home, it gives me this error:

Fatal error: Cannot redeclare pp_get_ext() (previously declared in /home/puregraf/public_html/graffiti-gallery/inc_vbcat.php:70) in /home/puregraf/public_html/graffiti-space/member.php(838) : eval()'d code on line 59



i have tried this:




function pp_get_ext($filename)
{
return substr($filename, strrpos($filename,"."));
}

comment it out like this


/*function pp_get_ext($filename)
{
return substr($filename, strrpos($filename,"."));
}*/




but it didnt work, gave me the error:

Fatal error: Cannot redeclare pp_is_image() (previously declared in /home/puregraf/public_html/graffiti-gallery/inc_vbcat.php:74) in /home/puregraf/public_html/graffiti-space/member.php(838) : eval()'d code on line 64


also the only way to see member profiles like i described above now gave me this error after i did this:

Fatal error: Call to undefined function: pp_get_ext() in /home/puregraf/public_html/graffiti-space/member.php(838) : eval()'d code on line 68


how else can i fix this? i changed the code back to how it was before.
i read i can fix it by renaming the function :

function pp_getextensionprofile($filename)
{
return substr($filename, strrpos($filename,"."));
}

and he said i have to "you have to change all calls to that function to if you do this ...."

i dont understand what are calls and where do i change this?

thanks