Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Changes made via file manager and backups not saved


ktaylor

Recommended Posts

Posted

Hi,

 

I've run into a problem and since we've had a programmer working on our admin back end I can't tell if it was caused by something he has done or a contribution that we've installed.

 

The symptoms: When changes are made to a file via file manager in admin, the changes are not saved. I can download the file to my hard drive via ftp, make the changes and upload and the changes are there. Also, when performing a backup from "tools" in the admin panel, even though the backup appears to run successfully, no file shows up in the list. I can backup to my hard drive however.

 

We are running 2.2 rc2a. Contributions: Great Categories, Ultimate SEO url's, basic design pack, attribute sort

 

Also, FYI - our programmer created a script that allows us to upload csv files containing pricing charts. The one problem we've run into that I'm sure is connected with his work is that though pages of product attributes/options show in the admin panel, you cannot move through the pages. If I click on the link to any page I stay on page 1, so I cannot view or edit any values.

 

Wondering if all of this is connected somehow?

 

Thanks!!

Kim

Posted
What does your programmer say Kim?

Nic

 

He said that they had been working with the product attributes so they will fix that, but he says they had problems using the file manager from the beginning. I made some changes to the main store page early on, however, and I'm pretty sure I made the changes via file manager.

 

It's a weird situation. I installed the store & contribs, but my client found someone who then found someone out of the country to write the custom script for the backend. There are a lot of language and communication issues.

 

Guess I'm just trying to figure out if I need to fix something on my end or him on his. I've used most of these contribs before and have not had any problems.

Posted

The File manager is no good and will probably break your shop, so tell them not to use it.

Use FTP or similar.

I cant imagine any of those contributions will be at fault as they are maintained by some great people, possibly the exception being Great Categories which i have never heard of.

 

Unless they have been installed incorrectly that is

 

Nic

Sometimes you're the dog and sometimes the lamp post

[/url]

My Contributions

Posted

Next page on product attrib is a known problem

 

http://svn.oscommerce.com/jira/browse/OSC-...rator=printable

 

Suspect some of the patches in my sig block might be of use.

Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile

 

Virus Threat Scanner

My Contributions

Basic install answers.

Click here for Contributions / Add Ons.

UK your site.

Site Move.

Basic design info.

 

For links mentioned in old answers that are no longer here follow this link Useful Threads.

 

If this post was useful, click the Like This button over there ======>>>>>.

Posted
The File manager is no good and will probably break your shop, so tell them not to use it.

Use FTP or similar.

I cant imagine any of those contributions will be at fault as they are maintained by some great people, possibly the exception being Great Categories which i have never heard of.

 

Unless they have been installed incorrectly that is

 

Nic

 

Great categories only modifies one file store/includes/boxes/categories.php Both the file manager and backup issues can be worked around, so if you think using file manager is a bad idea anyway I'll just let that go. The programmer is about to wrap things up so we have a small window to report any problems.

 

I really appreciate your time and input! :)

Posted
I never have used it, but i have seen many many posts here complaining about it, and most get the answer Do not use!!

 

Nic

 

I figured out that the File Manager & back-up issues are not related. With regard to the bu files, it was a permissions problem. I played around with them until the file finally saved on the server, but is rwx rw- rw- safe for that folder?

Posted
Thank you for the link! I will pass that info on. Looks like that issues was resolved in Jan 08?

 

Thanks again for the link!! I applied the fix specified on the site to the product_attributes.php and all is working now.

 

// bugfix - http://svn.oscommerce.com/jira/browse/OSC-306 - START

$value_page = $_REQUEST['value_page'];

$attribute_page = $_REQUEST['attribute_page'];

// bugfix - http://svn.oscommerce.com/jira/browse/OSC-306 - END

Posted
but is rwx rw- rw- safe for that folder?

rwx rw- rw translates to 766.

 

With three w's it's "world writable" (anyone can write to it).

 

Bad... bad... Just like I said in the other thread, with a folder "world writable" it's only a matter of time until someone hacks you up...

:o

 

Needs to be:

 

rwx rx- rx (755)

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Posted
rwx rw- rw translates to 766.

 

With three w's it's "world writable" (anyone can write to it).

 

Bad... bad... Just like I said in the other thread, with a folder "world writable" it's only a matter of time until someone hacks you up...

:o

 

Needs to be:

 

rwx rx- rx (755)

 

I'm sorry. I wasn't trying to disregard your advice in the other thread - as a matter of fact I quickly changed the permissions on the images folder just as you said. However, the backup folder will not work at 755. You receive a warning: error: the backup directory is not writeable. Is there another option or should backups just not be stored on the server? The reason I asked the safety question is that the back up folder is stored inside the admin folder which is secure. I was wondering if that kept the folder safe inspite of the permissions being set to write.

Posted

I know someone personally whose admin was "secure" and the backup folder was still compromised - twice.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Posted

Saving your backups on the server is a bad idea anyway. What happens when the server crashes? Back up to your own machine, then periodically burn copies to a CD or copy to a second hard drive. My backups are saved to a RAID drive, which is a good option now that hardware is cheap.

 

The moral is keep multiple copies of everything. Assume that at least one of those copies can disappear at any time.

 

Regards

Jim

See my profile for a list of my addons and ways to get support.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...