hi;
I just grabbed PMI, and I am getting a weird error...
When I go into http://www.bytesandbeans.com/inventory (this is where its installed), for some reason it redirects me to www.login.php...
The error is:
http://www.login.php/?strError=login&strRedir=http%3A%2F%2F
Now poking around, I went into login.php and found out there is a variable .makeHOMEURL near the bottom... I followed that variable to globalFunctions.inc.php:
Function makeHomeURL($stringToRemove = "") {
global $SERVER_NAME, $PHP_SELF;
$strURL = $SERVER_NAME.$PHP_SELF;
If ($stringToRemove != "") {
$intPos = strpos($strURL, $stringToRemove);
$strURL = substr($strURL, 0, ($intPos-1));
From where its getting $SERVER_NAME?
could you let me know how to resolve this issue?
Thanks in advanced!
badr
Logged In: NO
I believe you will have to set register_globals to On in /etc/php.ini.
Logged In: NO
did you ever find out how to
Logged In: NO
can you do with htacess file?
thanks, that fixed worked for me!
i'm having the same problems too. but my register_globals is already On but i'm being redirected still. how do i fix this?
Sorry there is no way to quicky fix the problem you are having, The current version of PHPmyInventory use several aspects of PHP that have been depreciated. PHP 5 will be supported in the next version.