The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
this generates a blank page when i access it without a query string even...anyone know why?
PHP Code:
|
#2
|
||||
|
||||
![]()
You mean you access it just via <script>.php and not via <script>.php?<variables> ?
In the third line, your script checks for $action being equal to "upload", if there is no such variable, that part of the script doesn't get parsed. |
#3
|
|||
|
|||
![]()
right, just <script>.php. but that should work because it is supposed to output a template if the action is not set to "upload".
|
#4
|
||||
|
||||
![]()
Ok, two things:
Does it work as expected if you call <script>.php?action=upload ? If so, maybe post the content of the template gallery_upload . |
#5
|
|||
|
|||
![]()
no, it doesn't work
|
#6
|
||||
|
||||
![]()
I think the problem is the
require("../forums/global.php"); tag. In which folder does the actual script and the global.php reside? |
#7
|
|||
|
|||
![]()
this script is in:
/public_html/gallery/upload.php forums are in: /public_html/forums/ |
#8
|
|||
|
|||
![]()
thanks for your help, but i just remembered that global.php needs editing before use by scripts in other folders
|
#9
|
||||
|
||||
![]()
you, oterwise it won't call functions.php (or any of the other scripts for that matter) correctly.
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|