Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

This is really anoying!!!!!!!


di_stephano20

Recommended Posts

Posted

Hello oscommerce fanatics.!!! I am one like u also.. Anyway here is my problem : I am working at my office trying hard to create a website based on oscommerce... and i really enjoy modifying the code.. Also i am working at home at the same website.. but here is the problem: i want to take the modification I am doing at work and use them at home.. so i have archived the catalog directory from work and send it through email tso that i can download it at home. That works just fine.. but when i unzip the arhive at home and overwrite the old files with the one modifed at work.. the oscommerce does not recongize my new changes!! For example if i am creating new categories and products through the administrator area.. this changes are not recognized at home.. oscommerce still uses my old file... and so the new categories, products, products images are not updated after i overwrite the old files.. i cant understand how on earth can the old files still be remembered. SO PLEASE IF U HAVE ANY IDEAS I WOULD APRECIATE IT! THANK U IN ADVANCE!!! :(

Posted

Are you remembering to backup the database and tranfer this to your home setup, then updating your home setup database?

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Posted

Is the version at home the same as the Version at work? Next thing to look for is making sure you are writing to the correct directory. Chances are that if you overwrite the file and it does not recognise it, its because you missed important data files.

Posted
Are you remembering to backup the database and tranfer this to your home setup, then updating your home setup database?

 

I think this is my mistake... who can i backup my database? and how do i transfer it home?? and then update it? i dont know how to do this.. i thought that if i am copying the files is enough.. can u please tell me how to backup, and then update my database at home? i really have no ideea how to do this... many thanks!! :rolleyes:

Posted
The admin section has a backup feature built in, it saves as a .sql file I believe.

 

Dan

Yes and that method makes transfer very simple. Backup the db and the backup file ends up in admin/backups. Then if you zip up the entire catalog folder you'll have everything including the current db.

 

Open the zip file on your local machine and do a db restore from Tools -> Backup and you can restore the latest version of the db.

 

You'll have a complete working version of your setup from wherever you were last working.

Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux

Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)

Posted

One more thing that makes this really simple.

 

For your home machine put your configure.php settings in the includes/local folders (both catalog and admin).

 

When you're running at work delete or rename those folders (maybe to _local) and they won't be read. When you're at home the settings in those folders will take over and you'll be up and running on your home machine in a few minutes.

Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux

Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)

Posted

well i belive u are right and it might just work your idea... BUT it seems that i am missing something here... when i go to admin/ tools/ database backup i get a message something like this: backup directory .../catalog/admin/backups/ and thats all.. i have no option.. how am i supossed to backup up the database? i really have no idea.. i need some kind of contribution or what? if so can u point me which one?? tnx alot !!!! :huh:

Posted
well i belive u are right and it might just work your idea... BUT it seems that i am missing something here... when i go to admin/ tools/ database backup i get a message something like this: backup directory .../catalog/admin/backups/ and thats all.. i have no option.. how am i supossed to backup up the database? i really have no idea.. i need some kind of contribution or what? if so can u point me which one?? tnx alot !!!! :huh:

Have you created the backups directory in your admin folder? It's not created by default because it's originally empty and the zip or targzip routines skip empy folders. (The installer could save people a lot of angst if a placeholder text file was placed in there.)

Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux

Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)

Posted
Have you created the backups directory in your admin folder? It's not created by default because it's originally empty and the zip or targzip routines skip empy folders. (The installer could save people a lot of angst if a placeholder text file was placed in there.)

 

THANX ALOT... IT IS WORKING NOW... I KNOW NOW WHAT I WAS DOING WRONG.. I WAS CREATING THE BACKUP DIRECTORY IN ADMIN/INCLUDES/BACKUPS WICH IS WRONHG.. THE RIGHT PATH IS ADMIN/BACKUPS.. NOW THAT I GOT THIS FIXED I CAN WORK MY WAY OUT..!! MANY THANKS..!!! :thumbsup:

Archived

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

×
×
  • Create New...