PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |
Old December 20th, 2007, 10:17 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Nov 2006
Posts: 32
Getting this error in my vBadvanced block

Any help would be appreciated.

located at: http://www.canamspyderforums.com/cmp....php?styleid=1


{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fswiss\fcharset0 Arial;}} {\*\generator Msftedit 5.41.15.1507;}\viewkind4\uc1\pard\f0\fs20
Warning: main() [function.main]: URL file-access is disabled in the server configuration in /modules/rp_block.php on line 2

Warning: main(http://www.canamspyderforums.com/market/inc_reviews.php) [function.main]: failed to open stream: no suitable wrapper could be found in /modules/rp_block.php on line 2

Warning: main() [function.main]: URL file-access is disabled in the server configuration in /modules/rp_block.php on line 2

Warning: main(http://www.canamspyderforums.com/market/inc_reviews.php) [function.main]: failed to open stream: no suitable wrapper could be found in /modules/rp_block.php on line 2

Warning: main() [function.include]: Failed opening 'http://www.canamspyderforums.com/market/inc_reviews.php' for inclusion (include_path='.:/usr/local/lib/php') in /modules/rp_block.php on line 2
\par } �
JayH is offline   Reply With Quote
Old December 20th, 2007, 10:33 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,944
url file access is disabled.

In inc_reviews.php this line

Code:
Content visible to verified customers only.
replace with

Code:
Content visible to verified customers only.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old December 26th, 2007, 07:56 PM   #3 (permalink)
Member
Verified Customer
 
Join Date: Nov 2006
Posts: 32
I replaced it as above, got the same error.

Then I got to thinking, and the put in the full reviewpost paths.....

like this:
from this:
$thumbtag = "{$rppath}/{$pcat}/thumbs/{$product}";

to this:
$thumbtag = "{$http://www.canamspyderforums.com/market}/{$pcat}/thumbs/{$product}";



should I pull the "}" after the market like in the line below?

$thumbtag = "{$http://www.canamspyderforums.com/market}/{$pcat}/thumbs/{$product}"; {
$mthumb = "<img src=\"{$http://www.canamspyderforums.com/market/images/overlay-roundp.gif\" height=\"105\" width=\"81\" border=\"0\" alt=\"\" />";
}

still get the same error.

and put in database paths where is had rp_data_url, and rp_path,

also wondered if something needed to be changed for the "rp_db_prefix" in these lines:

$resultb = mysql_query("SELECT id,ugnoview FROM {$rp_db_prefix}categories");


{
case "most_view":
$query = "SELECT id,user,userid,cat,title,bigimage,views,manu FROM {$rp_db_prefix}products WHERE bigimage != '' ORDER BY views DESC";
break;
case "latest":
$query = "SELECT id,user,userid,cat,title,bigimage,views,manu FROM {$rp_db_prefix}products WHERE bigimage != '' ORDER BY date DESC";
break;
case "random":
$query = "SELECT id,user,userid,cat,title,bigimage,views,manu FROM {$rp_db_prefix}products WHERE bigimage != '' ORDER BY RAND()";
break;
}
JayH is offline   Reply With Quote
Old December 26th, 2007, 08:05 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,944
Hello Jay the change I noted should be correct you can not use a url in that path therefore you need to use a server path and the one I noted should indeed be correct.

$rppath is a server path. The other one that was there before was a url. If you have the same error as before then you have not changed it in the right file etc. Since we dont support or write a block for vbadvanced I can only tell you how to change it in the block we write for the forum page.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old December 27th, 2007, 08:30 AM   #5 (permalink)
Member
Verified Customer
 
Join Date: Nov 2006
Posts: 32
Made the change, still get the error, the file is located in the reviewpost directory (I use market)

I guess I need to start at the beginning

Is this one OK, it is the block being called in vBadvanced, I think I found it in the photopost/reviewpost forums somewhere:

rp_block.php:

<?php include('http://www.canamspyderforums.com/market/inc_reviews.php');echo "$reviewpostfeature";?>

Thanks!
JayH is offline   Reply With Quote
Old December 27th, 2007, 08:35 AM   #6 (permalink)
Member
Verified Customer
 
Join Date: Nov 2006
Posts: 32
If I just go directly to:
http://www.canamspyderforums.com/market/inc_reviews.php

I get these errors:


Warning: mysql_query() [function.mysql-query]: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /home/.rasputin/jay_herbert/canamspyderforums.com/market/inc_reviews.php on line 65

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /home/.rasputin/jay_herbert/canamspyderforums.com/market/inc_reviews.php on line 65

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/.rasputin/jay_herbert/canamspyderforums.com/market/inc_reviews.php on line 68

Warning: mysql_query() [function.mysql-query]: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /home/.rasputin/jay_herbert/canamspyderforums.com/market/inc_reviews.php on line 124

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /home/.rasputin/jay_herbert/canamspyderforums.com/market/inc_reviews.php on line 124

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/.rasputin/jay_herbert/canamspyderforums.com/market/inc_reviews.php on line 130
JayH is offline   Reply With Quote
Old December 27th, 2007, 08:36 AM   #7 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,944
Jay no wonder your did not follow the instructions to install the modification. You place a server path there not url there. We already know your server does not allow url's there as evident by your initial error.

<?php include('/SERVER/PATH/TO/market/inc_reviews.php');echo "$reviewpostfeature";
?>
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old December 27th, 2007, 05:00 PM   #8 (permalink)
Member
Verified Customer
 
Join Date: Nov 2006
Posts: 32
Thanks! Starting at the beginning turned out to be a good thing

This was huge help, the block for photopost now pretty much works, but for some reason I get the following line showing up before the photopost block:

{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fswiss\fcharset0 Arial;}} {\*\generator Msftedit 5.41.15.1507;}\viewkind4\uc1\pard\f0\fs20

The image thumbnail click through works, but when I mouse-over the image it llooks like there is an extra "/" after the gallery part of the link---> http://www.canamspyderforums.com/gal...o.php?photo=14

This code shows up between the photopost and reviewpost blocks:

\par \par \par }

» Market
{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fswiss\fcharset0 Arial;}} {\*\generator Msftedit 5.41.15.1507;}\viewkind4\uc1\pard\f0\fs20
Warning: getimagesize(/home/.rasputin/jay_herbert/canamspyderforums.com/market/21/thumbs/completegarage_logo.gif) [function.getimagesize]: failed to open stream: No such file or directory in /home/.rasputin/jay_herbert/canamspyderforums.com/market/inc_reviews.php on line 146

Warning: getimagesize(/home/.rasputin/jay_herbert/canamspyderforums.com/market/13/thumbs/Diamondtreadmat_silver2.jpg) [function.getimagesize]: failed to open stream: No such file or directory in /home/.rasputin/jay_herbert/canamspyderforums.com/market/inc_reviews.php on line 146

Warning: getimagesize(/home/.rasputin/jay_herbert/canamspyderforums.com/market/17/thumbs/98200.jpg) [function.getimagesize]: failed to open stream: No such file or directory in /home/.rasputin/jay_herbert/canamspyderforums.com/market/inc_reviews.php on line 146

Warning: getimagesize(/home/.rasputin/jay_herbert/canamspyderforums.com/market/18/thumbs/spyder_penske.jpg) [function.getimagesize]: failed to open stream: No such file or directory in /home/.rasputin/jay_herbert/canamspyderforums.com/market/inc_reviews.php on line 146

and after the reviewpost block the following code shows:

\par } �

The block shows OK with thumbnails in ie, but the thumbnails do not show in mozilla?

There appears to be a directory missing for some reason in the generated code for the thumbs?, a little red x shows on the thumbs in ie, and on mouseover, the "market" directory is missing in the clickthough link:

http://www.canamspyderforums.com/sho....php?product=3

instead of:

http://www.canamspyderforums.com/mar....php?product=3


I appreciate your help and specially your patience with my (lack of) php skills.

Last edited by JayH; December 27th, 2007 at 05:09 PM.
JayH is offline   Reply With Quote
Old December 27th, 2007, 05:19 PM   #9 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,944
You might want to actually place a link to where these blocks are used. I dont see anything anywhere on your site so there is nothing I can comment on.

The urls and such for the block are set in the edit integration settings in admin of the photopost products. As far as any other info being echo's out thats not part of our program so I dont know what to tell you there.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old December 27th, 2007, 06:17 PM   #10 (permalink)
Member
Verified Customer
 
Join Date: Nov 2006
Posts: 32
Here ya go:

http://www.canamspyderforums.com/cmp....php?styleid=1
JayH is offline   Reply With Quote
Old December 27th, 2007, 07:06 PM   #11 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,944
Upload a clean inc_reviews.php file. Make sure you mark in your reviews module to clean output and DO NOT load as a module shell.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Reply

« - | Development of RP »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Error when trying to use with vb3 + vbadvanced CMPS netctrl Photopost Pro Installation & Upgrades 5 December 28th, 2005 02:16 PM


All times are GMT -5. The time now is 03:12 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0