vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   vB Easy Auction v1.1 (https://vborg.vbsupport.ru/showthread.php?t=92857)

icecube0045 07-27-2005 02:45 AM

OK Ive got it to work but now it just points to a blank page. the reason it didnt work before is because I didnt have it in the forums directory so when it was suppose to point to "global.php" it didnt have the right file path. is it suppose to point to global.php or am i suppose to edit it and have it point to some place else?

yoyoyoyo 07-27-2005 02:47 AM

Quote:

Originally Posted by icecube0045
OK Ive got it to work but now it just points to a blank page. the reason it didnt work before is because I didnt have it in the forums directory so when it was suppose to point to "global.php" it didnt have the right file path. is it suppose to point to global.php or am i suppose to edit it and have it point to some place else?

the auction.pl file is not supposed to be in the forums directory. It is supposed to be in the cgi folder, as mentioned in the instructions. If you move it to the forum directory, then you need to change the address in the iframe to match your auction.pl file, wherever you move it to. The template is just a header and a footer with an iframe pulling in content. The content is the auction.pl file. If you can see your auction.pl file and you can see the auction.php page display with no auction content then you did not edit the URL in the iframe properly. The auction.php file is supposed to go in your forum root directory, not in your cgi-bin folder.

icecube0045 07-27-2005 02:52 AM

I dont have a cgi directory in my server because I dont have a cgi_bin so what i did was, upload the auctions.php into my forums directory along with the folder called "auctions" and all of its contents.

yoyoyoyo 07-27-2005 02:58 AM

Quote:

Originally Posted by icecube0045
I dont have a cgi directory in my server because I dont have a cgi_bin so what i did was, upload the auctions.php into my forums directory along with the folder called "auctions" and all of its contents.

That is fine, as long as the script runs. Then your url to your auction.pl file would look something like:
Code:

http://yoursite.com/forum/auction/auction.pl
Make sure that the file path in the iframe of the template is correct, and that you have CHMOD'ed the auction directory and files properly. The iframe will display whatever you tell it to display. You could change the URL to vb.org, for example, and it would display in the iframe - you need to change it to the URL to your auction.pl file, otherwise it will not display in the iframe.

icecube0045 07-27-2005 03:07 AM

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.

icecube0045 07-27-2005 03:12 AM

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');"

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).

icecube0045 07-27-2005 03:39 AM

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');"

yoyoyoyo 07-27-2005 03:41 AM

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.

see above post.

icecube0045 07-27-2005 03:42 AM

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');"

ignore that. im going to make sure i have it as you said


All times are GMT. The time now is 09:36 AM.

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.01289 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
  • (1)bbcode_code_printable
  • (6)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