vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   problem with loading member profiles ,getting error (https://vborg.vbsupport.ru/showthread.php?t=161188)

puregraf 10-26-2007 03:38 PM

problem with loading member profiles ,getting error
 
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:



Quote:

function pp_get_ext($filename)
{
return substr($filename, strrpos($filename,"."));
}
comment it out like this


Quote:

/*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 :

Quote:

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


All times are GMT. The time now is 07:04 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01154 seconds
  • Memory Usage 1,725KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete