The Background:
1) The website was migrated from an old host to a new one about 2 months ago - I performed the migration. Afterwards, as is sometimes the case with different host configurations, I ran into a problem with products being dropped from the cart. 2 hours of analysis and changing server configurations resolved the issue (PHP session variables related). All was well. Person confirmed everything was functioning properly and she was receiving and processing orders.
2) About 2 weeks ago I get a call from this person telling me that her PC crashed and someone fixed it for her (less the website files) and she needed help to restore the local files. (Didn't have an external backup copy!)
3) I still had the backup copy that created prior to migrating her to new host. I asked her if she had made significant updates to the website since then to which she replied yes. Fine, I figure that the backup copy wouldn't be sufficient so I indicate that I would download the entire file structure again from the live server version, burn it to disk, and drop by to restore her local copy. That too turned out to be a 3 hour adventure for something that should have taken 15 minutes. Tested again and all was well and confirmed by this person.
The New Problem:
It's an ecommerce website developed in PHP (that I didn't build but inherited to casually maintain only for major problems), using a popular commercial WYSIWYG editor (specialized for ecommerce), it's not updating files to reflect product and shipping price changes when she uploads new changes from her local PC copies.
My Early Assessment:
I'm going to have to drop by this local based company to check it out because I know it's not a matter to attempt to resolve over the phone.
I'm suspecting it's a problem related to file permissions:
Folders from example.com on old host == drwxr-xr-x == 755(?) - verified permissions from my original backup copy
Files from example.com on old host == -rw-rw-r == 0664(?) - verified permissions from my original backup copy
Files from example.com on new host == -rw-r-r == 0644(?) - verified permissions on live version right now via FTP
I've had other issues with other websites when exchanging files between Windows and Linux systems. I'm using Linux, the server is Linux, the person's PC is Windows.
Is it likely that my Linux system changed the permissions on original and subsequent transfers from the old and new server from -rw-rw-r to rw-r-r and that is preventing related scripts on the server from writing to each other?
For quick reference:
r = 4
w = 2
x = 1
- = 0
If it's related to file permissions I guess I'm going to have to change them manually on the server then download the entire directory structure to her local PC again, or is there a way to change them manually in a Windows environment (I don't think I've ever tried that before). Or maybe I can configure the WYSIWYG application to set the file permissions prior to uploading them? Ah yes maybe that's the problem! Because it has a built-in FTP program that wasn't properly reconfigured after the program was reinstalled? (ha, my ego so wants it to be someone else's fault).
One last tidbit, the orders are processed by handing it off to PayPal in a new window, it's not integrated into the site.
Any insight at all would be appreciated even if you think it's not related to what I've outlined above. I want to keep it simple before looking for a potentially more drastic problem and file permissions was the first lightbulb that went on. Thanks in advance and sorry if this is waaaaay more info than is required but my brain builds stories around everything!