 | |  | | | Classifieds Bug Reports Post any problems you may be having with Classifieds here. |
July 6th, 2005, 11:17 AM
|
#1 (permalink)
| | Junior Member Verified Customer
Join Date: Jul 2005
Posts: 22
| error in memberslist(FIXED)
Warning: main(/usr/local/data/350z-tech/wwwroot/forums/classifieds24//usr/local/data/350z-tech/wwwroot/forums/classifieds24/templates/membhead.tmpl): failed to open stream: No such file or directory in /usr/local/data/350z-tech/wwwroot/forums/classifieds24/templates/showmembers.tmpl on line 2
Warning: main(): Failed opening '/usr/local/data/350z-tech/wwwroot/forums/classifieds24//usr/local/data/350z-tech/wwwroot/forums/classifieds24/templates/membhead.tmpl' for inclusion (include_path='.:/usr/local/php4/lib/php') in /usr/local/data/350z-tech/wwwroot/forums/classifieds24/templates/showmembers.tmpl on line 2
|
| |
July 6th, 2005, 01:29 PM
|
#2 (permalink)
| | PhotoPost Developer Verified Customer
Join Date: Jan 2002
Posts: 11,858
|
change line 2 of showmembers.tmpl to: Code: Content visible to verified customers only.
__________________ Please do not PM me for support or sales questions. Thank you for your understanding. |
| |
July 6th, 2005, 02:24 PM
|
#3 (permalink)
| | Junior Member Verified Customer
Join Date: Jul 2005
Posts: 22
|
changed it and got this:
<?php include( \\"{$Globals[\\\'TMPL_PATH\\\']}/membhead.tmpl\\" ); echo<<<PPPRINT <!-- BEGIN TEMPLATE: showmlist.tmpl --> $ppopen <tr> <td class=\\"{$Style[\\\'menubar\\\']}\\" align=\\"center\\"><span class=\\"{$Style[\\\'small\\\']}\\"><b>{$Globals[\\\'pp_lang\\\'][\\\'user\\\']}</b></span></td> <td class=\\"{$Style[\\\'menubar\\\']}\\" align=\\"center\\"><span class=\\"{$Style[\\\'small\\\']}\\"><b>Photos</b></span><!--REPLACEDAT--></td> <td class=\\"{$Style[\\\'menubar\\\']}\\" align=\\"center\\" nowrap=\\"nowrap\\"><span class=\\"{$Style[\\\'small\\\']}\\"><b>{$Globals[\\\'pp_lang\\\'][\\\'views\\\']}</b></span></td> <td class=\\"{$Style[\\\'menubar\\\']}\\" align=\\"center\\"><span class=\\"{$Style[\\\'small\\\']}\\"><b>{$Globals[\\\'pp_lang\\\'][\\\'comments\\\']}</b></span></td> <td class=\\"{$Style[\\\'menubar\\\']}\\" align=\\"center\\"><span class=\\"{$Style[\\\'small\\\']}\\"><b>{$Globals[\\\'pp_lang\\\'][\\\'space\\\']}</b></span></td> <td class=\\"{$Style[\\\'menubar\\\']}\\" align=\\"center\\"><span class=\\"{$Style[\\\'small\\\']}\\"><b>{$Globals[\\\'pp_lang\\\'][\\\'lastphoto\\\']}</b></span></td> </tr> PPPRINT; for ( $x=0; $x < $itemcnt; $x++ ) { echo<<<PPPRINT <tr> <td class=\\"{$Style[\\\'tddetails\\\']}\\" width=\\"30%\\"> <span class=\\"{$Style[\\\'medium\\\']}\\"><a href=\\"{$Globals[\\\'maindir\\\']}/showgallery.php?cat=$cat&ppuser={$puserid[$x]}\\">{$puser[$x]}</a></span> </td> <td class=\\"{$Style[\\\'tddetails\\\']}\\" width=\\"11%\\" align=\\"center\\">{$uphotos[$x]}</span></td> <td class=\\"{$Style[\\\'tddetails\\\']}\\" width=\\"11%\\" align=\\"center\\">{$views[$x]}</span></td> <td class=\\"{$Style[\\\'tddetails\\\']}\\" width=\\"11%\\" align=\\"center\\">{$comcount[$x]}</span></td> <td class=\\"{$Style[\\\'tddetails\\\']}\\" width=\\"11%\\" align=\\"center\\">{$filesize[$x]}</span></td> <td class=\\"{$Style[\\\'tddetails\\\']}\\" width=\\"30%\\" align=\\"center\\"> {$gallery[\\\'thumbnail\\\'][$x]} {$lpprint[$x]}</span></td> </tr> PPPRINT; } echo<<<PPPRINT <tr> <td class=\\"{$Style[\\\'menubar\\\']}\\" colspan=\\"6\\" align=\\"center\\"> <span class=\\"{$Style[\\\'small\\\']}\\">$posternav$noresults</span><br /> </td> </tr> $ppclose </form> <br /> <!-- END TEMPLATE: showmlist.tmpl --> PPPRINT; ?>
|
| |
July 6th, 2005, 02:59 PM
|
#4 (permalink)
| | PhotoPost Developer Verified Customer
Join Date: Jan 2002
Posts: 11,858
|
Looks like the file didn't save properly; I've updated adm-misc.php in the current build to correct this and updated the showmembers.tmpl templates so you don't have to. Grab those files and update them on your server.
__________________ Please do not PM me for support or sales questions. Thank you for your understanding. |
| |
July 6th, 2005, 03:02 PM
|
#5 (permalink)
| | Junior Member Verified Customer
Join Date: Jul 2005
Posts: 22
|
now i get this error?
» Users
Warning: main(/usr/local/data/350z-tech/wwwroot/forums/classifieds24//usr/local/data/350z-tech/wwwroot/forums/classifieds24/templates/searchmem.tmpl): failed to open stream: No such file or directory in /usr/local/data/350z-tech/wwwroot/forums/classifieds24/templates/membhead.tmpl on line 17
Warning: main(): Failed opening '/usr/local/data/350z-tech/wwwroot/forums/classifieds24//usr/local/data/350z-tech/wwwroot/forums/classifieds24/templates/searchmem.tmpl' for inclusion (include_path='.:/usr/local/php4/lib/php') in /usr/local/data/350z-tech/wwwroot/forums/classifieds24/templates/membhead.tmpl on line 17
|
| |
July 6th, 2005, 03:03 PM
|
#6 (permalink)
| | Junior Member Verified Customer
Join Date: Jul 2005
Posts: 22
|
if im correrct this is line 17:
include( "{$Globals['PP_PATH']}/{$Globals['TMPL_PATH']}/searchmem.tmpl" );
|
| |
July 6th, 2005, 03:07 PM
|
#7 (permalink)
| | PhotoPost Developer Verified Customer
Join Date: Jan 2002
Posts: 11,858
|
And it should be changed to what I placed above...
__________________ Please do not PM me for support or sales questions. Thank you for your understanding. |
| |
July 7th, 2005, 05:06 PM
|
#8 (permalink)
| | Junior Member Verified Customer
Join Date: Jul 2005
Posts: 26
|
Same problem here ( I use phpBB integration v2.016:
Warning: main(/is/htdocs/wp1015827_GD8YCG07TK/www/classifieds//is/htdocs/wp1015827_GD8YCG07TK/www/classifieds/templates/searchmem.tmpl): failed to open stream: No such file or directory in /is/htdocs/wp1015827_GD8YCG07TK/www/classifieds/templates/membhead.tmpl on line 17
Warning: main(/is/htdocs/wp1015827_GD8YCG07TK/www/classifieds//is/htdocs/wp1015827_GD8YCG07TK/www/classifieds/templates/searchmem.tmpl): failed to open stream: No such file or directory in /is/htdocs/wp1015827_GD8YCG07TK/www/classifieds/templates/membhead.tmpl on line 17
Warning: main(): Failed opening '/is/htdocs/wp1015827_GD8YCG07TK/www/classifieds//is/htdocs/wp1015827_GD8YCG07TK/www/classifieds/templates/searchmem.tmpl' for inclusion (include_path='./:/usr/share/pear/php4/') in /is/htdocs/wp1015827_GD8YCG07TK/www/classifieds/templates/membhead.tmpl on line 17
But showmembers.tmpl seems to be okay: <?php
include( "{$Globals['TMPL_PATH']}/membhead.tmpl" );
echo<<<PPPRINT
<!-- BEGIN TEMPLATE: showmlist.tmpl -->
Here is the link to classifieds: http://www.fightus.net/classifieds/showmembers.php |
| |
July 7th, 2005, 07:06 PM
|
#9 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,796
|
Looks to me like your path is doubled.
Make sure in config that templates directory is simply a name templates not a path and make sure your server path is correct.
|
| |
July 7th, 2005, 07:35 PM
|
#10 (permalink)
| | Junior Member Verified Customer
Join Date: Jul 2005
Posts: 26
|
I didn´t found such entries (templates)- not in the config file and not in the classifieds admin. Where can I edit the path ?
|
| |
July 7th, 2005, 08:14 PM
|
#11 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,796
|
In your config-inc.php file is the templates directory name and the PP_PATH statement.
Look at your error your path is doubled
Warning: main(/is/htdocs/wp1015827_GD8YCG07TK/www/classifieds//is/htdocs/wp1015827_GD8YCG07TK/www/classifieds/templates/searchmem.tmpl): failed to open stream: No such file or directory in
|
| |
July 7th, 2005, 08:22 PM
|
#12 (permalink)
| | Junior Member Verified Customer
Join Date: Jul 2005
Posts: 26
|
1. I downloaded 2.4 from the website but in the config-inc.php stands: // PhotoPost Classifieds Pro Version Number
$VERSION = "2.3";
2. In the config-inc.php there is no templates directory name only following: // Path to your PhotoPost Classifieds installation - no end slashes
$PP_PATH = "/is/htdocs/wp1015827_GD8YCG07TK/www/classifieds"; Code: Content visible to verified customers only.
|
| |
July 8th, 2005, 06:46 AM
|
#13 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,796
|
Okay and what is the template directory setting in config??
It should as I have said be just templates
If you have a path in there thats why your path is doubled.
At any rate you need to make sure any altered files are overwritten with stock files as I do beleive any changes Michael noted in any thread have been applied to the download.
Last edited by Chuck S; July 8th, 2005 at 06:48 AM.
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 10:59 AM. | |