yoyoyoyo |
07-27-2005 03:15 AM |
Quote:
Originally Posted by icecube0045
I dont understand why the auction template file can be the reason why its not showing up. And now i uploaded the cgi-bin folder so the url is mysite.com//cgi-bin/auction/auction.pl in the auction template file.
|
is that // a typo or is that really how you have it?
Quote:
Originally Posted by icecube0045
Are you sure i dont need to edit the auction.php file such as the "require_once('./global.php');" because once its taken out of the forum directory where there is no global.php file i get an error message which says "Warning: main(./global.php): failed to open stream: No such file or directory in" and line 34 is the line of "require_once('./global.php');"
|
The auction.php file should never be taken out of the forum root directory. It is uploaded to your forum root, since it is part of your forum.
Upload the files as follows:
auction.php is uploaded to your forum root directory (the same directory where index.php and newreply.php reside)
the 'auction' directory, and all of it's contents are uploaded to your cgi-bin OR forum root directory.
http://yoursite.com/ <-- your base URL
http://yoursite.com/forum/ <-- your forum directory (this is where your auction.php file goes)
http://yoursite.com/cgi-bin/auction/ <-- your auction directory (where auction.pl resides)
OR
http://yoursite.com/forum/auction/ <-- your auction directory (where auction.pl resides- ONLY if you have no cgi folder, but can still run perl scripts)
The auction.pl file runs independently of the global.php file, so it is not looking for that file, only the auction.php file is looking for the global.php, so make sure you have that in the right directory (your forum folder).
|