![]() |
why does this show up blank?
this generates a blank page when i access it without a query string even...anyone know why?
PHP Code:
|
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. |
right, just <script>.php. but that should work because it is supposed to output a template if the action is not set to "upload".
|
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 . |
no, it doesn't work
|
I think the problem is the
require("../forums/global.php"); tag. In which folder does the actual script and the global.php reside? |
this script is in:
/public_html/gallery/upload.php forums are in: /public_html/forums/ |
thanks for your help, but i just remembered that global.php needs editing before use by scripts in other folders
|
you, oterwise it won't call functions.php (or any of the other scripts for that matter) correctly.
|
All times are GMT. The time now is 07:02 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|