Shopping Cart Operations > Support

Manual Update Instructions ??

<< < (2/2)

abantecart:
Any way we can check what you have ? Can you PM temporary FTP access?

Nimitz1061:
I don't think that will be necessary at this time.  I may have found the issue.

In 1.0.3, in lib/error.php a change was made in line 96 from:


--- Code: ---$log = new ALog('system/logs/error.txt');
--- End code ---

to


--- Code: ---   $log = new ALog(DIR_SYSTEM.'logs/error.txt');
--- End code ---


lib/error.php is included into init.php at line 52.

DIR_SYSTEM is defined in init.php at line 275 or so.

So, this would seem to be a valid error, that should be expected on at least some PHP installations in the absence of some undocumented configuration settings..

David

abantecart:
What is strange, that DIR_SYSTEM is not new. It has been there in init.php since the beginning.
I wonder why you had it missing.

Glad you resolved it.

Nimitz1061:
It is NOT missing.

A developer added a new usage of DIR_SYSTEM in the lib/error.php file during the 1.0.3 development cycle.

lib/error.php is included into init.php BEFORE DIR_SYSTEM is defined.  Every new install or upgrade should now have this problem.



David

abantecart:
Yes. This is a valid issue. We will update the code.

Thank you.

Navigation

[0] Message Index

[*] Previous page

Go to full version
Powered by SMFPacks Social Login Mod