vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Photopost Latest uploads in user profile (https://vborg.vbsupport.ru/showthread.php?t=111893)

Delphiprogrammi 04-06-2006 10:19 PM

Quote:

Originally Posted by h_kakashi
I get the following error :

Code:

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /member.php on line 760

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /member.php on line 812

The rest of the profile loads but that error is at the top and no thumbnails :(

Any ideas ?

version is 5.2.1
vbulletin is 3.5.0 with security patches.
default member.php file (Chmod 777)

Thanks

check your database config your datase needs a predix i guess

h_kakashi 04-06-2006 11:28 PM

The prefix is pp_

The path to config-int.php is correct. Within config-int the prefix is set to pp_

It can connect to the database so username and pass / database name is correct. I'll keep working on it tommorrow.

The Realist 04-07-2006 03:35 PM

The paths in the plugin:

<phpcode><![CDATA[$ppath="/your/path/to/PhotoPost";
require "{$ppath}/config-int.php";

What should it be written like?

And do you change the 2 above lines of code or just were it says "/your/path/to/PhotoPost

Delphiprogrammi 04-07-2006 04:18 PM

Quote:

Originally Posted by The Realist
The paths in the plugin:

<phpcode><![CDATA[$ppath="/your/path/to/PhotoPost";
require "{$ppath}/config-int.php";

What should it be written like?

And do you change the 2 above lines of code or just were it says "/your/path/to/PhotoPost

you only need to change the $ppath variable.What value it should have on your system well no idea .... if you don't know this you need to ask your host's support

MamboCube 04-10-2006 05:07 PM

i get this error

Code:

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

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

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

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

Fatal error: (null)(): Failed opening required '/gallery/config-int.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/uk2flo/public_html/forum/member.php(651) : eval()'d code on line 4

any ideas?

great hack, like it alot:)

Delphiprogrammi 04-10-2006 05:18 PM

Quote:

Originally Posted by MamboCube
i get this error

Code:

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

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

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

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

Fatal error: (null)(): Failed opening required '/gallery/config-int.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/uk2flo/public_html/forum/member.php(651) : eval()'d code on line 4

any ideas?

great hack, like it alot:)

that's a security setup from your host i'm afraid there is not much you can do about it except install Photopost inside vbulletin's directory ...

The Realist 04-10-2006 05:21 PM

Its because your trying to read a directory outside of what you are allowed to view.

Install this within the vbulletin directory and all will be fine.

MamboCube 04-10-2006 05:21 PM

oh right,

i currently use a reseller package for my hosting, so is there anything i can change in the WHM, or is it something to do with the actuall server?

thnx for your help by the way, appreciate the quick reply:)

MamboCube 04-10-2006 05:29 PM

Quote:

Originally Posted by The Realist
Its because your trying to read a directory outside of what you are allowed to view.

Install this within the vbulletin directory and all will be fine.


ok, but is there any other way?

as i would rather have them in seperate directorys

i have tried setting my path as the full path (with http:// and evrything)

and i get this error
Code:

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /member.php(651) : eval()'d code on line 36

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /member.php(651) : eval()'d code on line 88

same kinda thing as h_kakashi

thnx very much for the reply guys, really appreciate it

Delphiprogrammi 04-10-2006 05:43 PM

Quote:

Originally Posted by MamboCube
ok, but is there any other way?

as i would rather have them in seperate directorys

i have tried setting my path as the full path (with http:// and evrything)

and i get this error
Code:

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /member.php(651) : eval()'d code on line 36

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /member.php(651) : eval()'d code on line 88

same kinda thing as h_kakashi

thnx very much for the reply guys, really appreciate it

http:// is a url NOT a path ..... did you set the table prefix photopost is uisng ?


All times are GMT. The time now is 01:05 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.01160 seconds
  • Memory Usage 1,751KB
  • 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
  • (5)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete