If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

can I remove zen_ prefix from all tables?

Hi i have zen cart version 1.3.9g I have been searching for a script or a fast way to remove the zen_ prefix because I am moving my site to a new server and the new db has zen_ as a prefix and my other site has no prefix does anyone know of a script to do this or a fast method besides manually changing them?

Re: removing zen_ prefix from all tables

Yes just replace that db info with your and change the pattern_ to whatever you like to remove. And the new_ pattern with whatver you want to replace it with ex. Pattern_ could be zen_ then new_pattern could be "" and that would remove zen _ from the db

Re: can I remove zen_ prefix from all tables?

No this is a Php script so name the file something.php and then place it in the folder of your web server that is the base folder. Then go to your websites.com/something.php and it should run and tell you all of the tables modified. Make sure you give the file executable privileges and then once your done remove it from your server .