Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 10-26-2007, 03:38 PM
puregraf's Avatar
puregraf puregraf is offline
 
Join Date: May 2006
Posts: 175
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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
Reply With Quote
  #2  
Old 10-26-2007, 03:42 PM
calorie calorie is offline
 
Join Date: May 2003
Posts: 2,804
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #3  
Old 10-26-2007, 03:50 PM
puregraf's Avatar
puregraf puregraf is offline
 
Join Date: May 2006
Posts: 175
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks i will try now
Reply With Quote
  #4  
Old 10-26-2007, 03:51 PM
calorie calorie is offline
 
Join Date: May 2003
Posts: 2,804
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Go to the vB ACP -> Plugins & Products -> Plugin Manager and look for any plugin using the member_complete hook.
Reply With Quote
  #5  
Old 10-26-2007, 04:05 PM
puregraf's Avatar
puregraf puregraf is offline
 
Join Date: May 2006
Posts: 175
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

you!!! thanks so much, fixed my problem
Reply With Quote
  #6  
Old 10-31-2007, 04:47 PM
puregraf's Avatar
puregraf puregraf is offline
 
Join Date: May 2006
Posts: 175
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:54 PM.


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.04166 seconds
  • Memory Usage 2,209KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (6)postbit
  • (6)postbit_onlinestatus
  • (6)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete