AbanteCart Development > General Discussion

Hard coded folder paths?

(1/2) > >>

Nimitz1061:
I tend to do manual updates on my sites.  For some reason I sometimes see references to attempts to access an update.xml file in our server wide tmp folder.  As we don't generally allow access to the tmp folder itself, this is not good.

I don't see where this location can be configured anywhere...

David

abolabo:

--- Quote from: Nimitz1061 on September 04, 2012, 07:14:28 PM ---I tend to do manual updates on my sites.  For some reason I sometimes see references to attempts to access an update.xml file in our server wide tmp folder.  As we don't generally allow access to the tmp folder itself, this is not good.

I don't see where this location can be configured anywhere...

David

--- End quote ---

Hello.
we already changed this code. it was done this way to keep file with updated info in temporary folder and checking not often than once per 24 hours at admin login time.
We recommended to give write permission for admin/system folder for web-server system user (apache etc)  because it use for automatic upgrades and package installs too.

Nimitz1061:
Are you telling me that this hard coded path is part of a fallback system, and that reaching it probably indicates that the admin system folder needs write permissions???

David

abantecart:
Yes. This is correct.

Nimitz1061:
Ok, changed permissions on admin/system/ folder - and I can now see the updates.xml file being created there.

But, still get an error about missing XML tags. 

Navigation

[0] Message Index

[#] Next page

Go to full version
Powered by SMFPacks Social Login Mod