Forums / Basic Configuration / Major FUBAR- Manufacture.php gone

Major FUBAR- Manufacture.php gone

Started by jgirl5799 on 7 Aug 2012, 12:41 PM · Views: 1,450

Results 1 to 13 of 13
7 Aug 2012, 12:41 PM
#1
jgirl5799 avatar

jgirl5799

New Zenner

Join Date:
Aug 2012
Posts:
24
Plugin Contributions:
0

Major FUBAR- Manufacture.php gone

Morning Zenners,

I was playing around in the manufacturers.php edits, the manufacturer_info.php under and the manufacturers.php under admin.

I was trying to change manufacturers to all vendors... I did that and now the website is gone.. so I messed up on my website somehow by changing these codes..

Any suggestion on how to get them back ? The backup I did for the files are not changing back properly..

Many thanks

7 Aug 2012, 12:47 PM
#2
jgirl5799 avatar

jgirl5799

New Zenner

Join Date:
Aug 2012
Posts:
24
Plugin Contributions:
0

Re: Major FUBAR- Manufacture.php gone

I forgot to add.. everything was working until I was in the manufacturer_info.php

7 Aug 2012, 12:52 PM
#3
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,131
Plugin Contributions:
56

Re: Major FUBAR- Manufacture.php gone

You can use the versions of the files (manufacturers_info.php and manufacturers.php) from the zen-cart original install zip-file. If you don't have a copy, you can download the zip-file again and just restore those two files to their initial values.

7 Aug 2012, 12:54 PM
#4
jgirl5799 avatar

jgirl5799

New Zenner

Join Date:
Aug 2012
Posts:
24
Plugin Contributions:
0

Re: Major FUBAR- Manufacture.php gone

Thank you Lat! I will try that then.. thank you for your help

7 Aug 2012, 12:59 PM
#5
jgirl5799 avatar

jgirl5799

New Zenner

Join Date:
Aug 2012
Posts:
24
Plugin Contributions:
0

Re: Major FUBAR- Manufacture.php gone

That finally worked... thanks again!!!

7 Aug 2012, 4:39 PM
#6
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,131
Plugin Contributions:
56

Re: Major FUBAR- Manufacture.php gone

Yay! I'm glad you got it working.

You might want to consider creating either a hosted or local "test" copy of your store's files and database. That way, when you make changes that "go bad" you're not impacting your real storefront.

7 Aug 2012, 8:48 PM
#7
jgirl5799 avatar

jgirl5799

New Zenner

Join Date:
Aug 2012
Posts:
24
Plugin Contributions:
0

Re: Major FUBAR- Manufacture.php gone

What is the best way to do copies.. copy them to your desktop computer or right on the hosting server?

7 Aug 2012, 9:19 PM
#8
limitless avatar

limitless

Inactive

Join Date:
Jan 2012
Posts:
496
Plugin Contributions:
0

Re: Major FUBAR- Manufacture.php gone

I do both.

If you are comfortable with linux, you can set up your own server with something like virtualbox (free).

If not comfortable with it and using Windows desktop, load WAMP or XAMP and copy your store and db to your machine.

I also have a 'live' site copy on another server I let my developer work on and make changes to and copy changes back to live storefront when 'complete'.

Cost, Skill, comfort level all factor in, YMMV.

7 Aug 2012, 9:27 PM
#9
jgirl5799 avatar

jgirl5799

New Zenner

Join Date:
Aug 2012
Posts:
24
Plugin Contributions:
0

Re: Major FUBAR- Manufacture.php gone

Thanks Limitless. I do have a linux server but my knowledge on the server is not very good and I am considered very newbie and still learning a lot about this and zen cart itself.. I was just used to using dream weaver before when building websites, but this website is a strict linux and zen cart setup. This has been a huge learning curve for me and I know I have a lot to learn yet, my comfort level is very good at trying new things and Im not scared to mess things up when I do. I would highly love to see how the "live copy" would work and I would love to learn more about that since I love to see the final outcome after saving things.

8 Aug 2012, 1:59 PM
#10
limitless avatar

limitless

Inactive

Join Date:
Jan 2012
Posts:
496
Plugin Contributions:
0

Re: Major FUBAR- Manufacture.php gone

Are you on shared hosting or a VPS?

I am on a VPS and spun up a second, smaller VPS server, installed identical software, then SCP'd the zen cart files over. Take a db backup and restore that to your test server.

Shared hosting will require a few different steps due to access limitations, but generally the same idea.

There are instructions here on how to move your site to a new server. Follow those to make a copy.

Virtualbox (free virtualization software) is available for you to run a virtual server on your local desktop and interact with it a little easier.

It wont allow 'external' access, but is nice if you are doing the work. It also has snapshot capabilities to roll back/roll forward changes.

14 Aug 2012, 1:36 PM
#11
jgirl5799 avatar

jgirl5799

New Zenner

Join Date:
Aug 2012
Posts:
24
Plugin Contributions:
0

Re: Major FUBAR- Manufacture.php gone

The website that I am working on decided to go through Godaddy for the hosting and it is not a shared thing. So right now, its set up as any changes I make to the site, it shows live automatically which I don't really care for cause I am always changing things LOL

I am not knowing about VPS and that is not familar to me. I am not thinking I have that one.

14 Aug 2012, 5:28 PM
#12
limitless avatar

limitless

Inactive

Join Date:
Jan 2012
Posts:
496
Plugin Contributions:
0

Re: Major FUBAR- Manufacture.php gone

I don't know what hosting plan you have with godaddy, but a VPS == Virtual Private Server.

Its sort of like a 'dedicated' server, but cheaper than true dedicated hardware.

Regardless, you should be able to get another instance of whatever you have with GoDaddy and copy your site to your 'dev/qa' instance vs working on your 'prod/live' shop.

14 Aug 2012, 10:47 PM
#13
jgirl5799 avatar

jgirl5799

New Zenner

Join Date:
Aug 2012
Posts:
24
Plugin Contributions:
0

Re: Major FUBAR- Manufacture.php gone

Alright! now that makes sense.. thanks again Limitless, I was finally able to copy a version of the site to a new backupfile within the system and do that. Worked this time