- Moderated by:
- Support Team
-
- rank:
-
Registered User
- registered:
- April 2007
- Status:
- offline
- last visit:
- 06.04.07
- Posts:
- 1
Hi
I upgraded my PHP from 4 to 5 and now my site is not working it shows me Blank Page.
can anyone help please?
BTW my register_globals is ON, I wrote ini_set("register_globals","Off"); on top of the index page but no affect...
I guess include path is giving problem because on index page i put echo points in different lines, the line before the call of pnInit() is not displaying it means it is breaking there....
then I went to the file containing pnInit() and checked there it was including files with path
include/
which was wrong because classes include folder is up one level
// user and modules system includes
include 'includes/pnUser.php';
include 'includes/pnMod.php';
now this is from pnAPI.php which is itself in includes folder then why it is looking for another includes folder?
I am lost please help, i am getting empty index page..
thanks a lot -
- rank:
-
Professional
- registered:
- November 2003
- Status:
- offline
- last visit:
- 06.11.08
- Posts:
- 1675
All scripts (including module scripts) are executed from index.php since that is the only file you actually open with the browser. Even in my modules I must cast my include paths from the PostNuke main directory (eg. modules/ModuleName/pnincludes/filename.inc) so that is correct the way you have it set up.
What version of PostNuke are you using? Versions prior to 0.76 have session bugs with PHP 5+ (it may be PHP 5.2 specificaly but I'm not sure).
--
Under Construction! -
- rank:
-
Softmore
- registered:
- September 2002
- Status:
- offline
- last visit:
- 13.04.08
- Posts:
- 51
Try to change the theme to ExtraLite, just to rule out any theme specific errors
--
Cars are afraid of trains...
Userfriendly design based on open source CMS PostNuke at www.eid.dk
