Forums / Installing on a Linux/Unix Server / transferred site, not connecting to admin or DB

transferred site, not connecting to admin or DB

Started by jenpen on 27 Sep 2014, 4:10 AM · Views: 2,068

Results 1 to 20 of 21
27 Sep 2014, 4:10 AM
#1
jenpen avatar

jenpen

Zen Follower

Join Date:
Sep 2007
Location:
Far South Coast, NSW, Australia
Posts:
427
Plugin Contributions:
0

transferred site, not connecting to admin or DB

I have just uploaded an existing fileset and database to a new webhost. I have done this about 10 times before and this is the first time I've had problems.

The site is displaying but it's just the default classic green template without the right layout and with no products.

When I try to connect to Admin I get 404 page not found, although I can see it there on the server (in my FTP client).

I have checked and rechecked the database name, DB username, password. Both configure files are correct, with correct permissions.

The only possible anomaly I can find is that in my includes/configure.php file I keep changing the http server and https server to glasscrafts.com.au but when I close the file it reverts to the IP address. But vice versa for the admin/includes/configure.php. So the two files never show the same server addresses (same address but one is IP, one URL). Is this weird?

https://www.glasscrafts.com.au

Any ideas? TIA...

27 Sep 2014, 8:09 AM
#2
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: transferred site, not connecting to admin or DB

After downloading your 2 configure.php files, are there any traces of > glass382 left?

NOTE: We are sorry that Frank is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

27 Sep 2014, 9:23 AM
#3
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: transferred site, not connecting to admin or DB

jenpen:

The only possible anomaly I can find is that in my includes/configure.php file I keep changing the http server and https server to glasscrafts.com.au but when I close the file it reverts to the IP address.

Any ideas? TIA...

Well, there is the 'obvious'. Are you changing the configure.php file permissions to make them writable before making your changes?

Also, what are you changing them to 664, 666, 775, 777 or something else? If 777 then try a more restrictive setting (664 is generally sufficient). Some servers have been configured to dissallow file permissions of 777, and when tried they will either cause a server failure or they will be reset to something a little more secure.

Cheers
RodG

NOTE: We are sorry that Rod is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

Ozpost - The Ultimate Shipping module for Australian Merchants. Click these links for its Homepage, or Download from Zen-Cart.com.

27 Sep 2014, 10:53 AM
#4
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: transferred site, not connecting to admin or DB

RodG:

Well, there is the 'obvious'. Are you changing the configure.php file permissions to make them writable before making your changes?

Also, what are you changing them to 664, 666, 775, 777 or something else? If 777 then try a more restrictive setting (664 is generally sufficient). Some servers have been configured to dissallow file permissions of 777, and when tried they will either cause a server failure or they will be reset to something a little more secure.

Cheers
RodG

That is the obvious, but if you try to call

http://www.glasscrafts.com.au/admin/

which should result in a 404 or similar you actually get

http://www.glasscrafts.com.au/~glass382/admin/FILENAME_ALERT_PAGE.php

in the address bar.

Also, if you pull up http://www.glasscrafts.com.au/ and then hover over the ZC logo on the Classic Green template you get

[ip-address]/~glass382/

So, me thinks that there are still remnants of 'glass382' in the configure files.

Ofc, permissions should be changed to 777 before editing these files and back to 400 or 444 after the edit is done.

NOTE: We are sorry that Frank is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

27 Sep 2014, 11:04 AM
#5
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: transferred site, not connecting to admin or DB

jenpen:

I have just uploaded an existing fileset and database to a new webhost. I have done this about 10 times before and this is the first time I've had problems.

The site is displaying but it's just the default classic green template without the right layout and with no products.

When I try to connect to Admin I get 404 page not found, although I can see it there on the server (in my FTP client).

I have checked and rechecked the database name, DB username, password. Both configure files are correct, with correct permissions.

The only possible anomaly I can find is that in my includes/configure.php file I keep changing the http server and https server to glasscrafts.com.au but when I close the file it reverts to the IP address. But vice versa for the admin/includes/configure.php. So the two files never show the same server addresses (same address but one is IP, one URL). Is this weird?

www.glasscrafts.com.au

Any ideas? TIA...

Your registered domain points to these name servers:

ns1.hostpapa.com
ns2.hostpapa.com

Last Modified: 26-Sep-2014 03:50:32 UTC which is 13:50:32 AEST.

Did you assign new domain name servers at that time and immediately after installed your new ZC file set?

Please post your 2 configure.php files here (minus sensitive information such as DB name, user and pwd) so we can have a look at them.

NOTE: We are sorry that Frank is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

28 Sep 2014, 12:49 AM
#6
jenpen avatar

jenpen

Zen Follower

Join Date:
Sep 2007
Location:
Far South Coast, NSW, Australia
Posts:
427
Plugin Contributions:
0

Re: transferred site, not connecting to admin or DB

Thanks everyone but still no joy.

frank18, glass382 is the new prefix. But I checked for glasscra, the old one, and there was no trace.

RodG, thanks, the server does have its own ideas of what the permissions should be. I managed to get the URL to stick in the http and https server fields, using your advice. But it didn't help. At least I can rule that out.

And frank18, yes, I did assign new domain name servers immediately after I installed the new ZC file set. Should I delete the full file set and re-upload?

I'll paste the files into the next two posts.

28 Sep 2014, 12:52 AM
#7
jenpen avatar

jenpen

Zen Follower

Join Date:
Sep 2007
Location:
Far South Coast, NSW, Australia
Posts:
427
Plugin Contributions:
0

Re: transferred site, not connecting to admin or DB

Here's admin/includes/configure.php

<?php /** * @package Configuration Settings circa 1.3.9 * @copyright Copyright 2003-2010 Zen Cart Development Team * @copyright Portions Copyright 2003 osCommerce * @license <http://www.zen-cart.com/license/2_0.txt> GNU Public License V2.0 * File Built by zc_install on 2014-09-26 12:43:05 */ /*************** NOTE: This file is similar, but DIFFERENT from the "store" version of configure.php. ***********/ /*************** The 2 files should be kept separate and not used to overwrite each other. ***********/ // Define the webserver and path parameters // Main webserver: eg-http://www.your_domain.com - // HTTP_SERVER is your Main webserver: eg-http://www.your_domain.com // HTTPS_SERVER is your Secure webserver: eg-https://www.your_domain.com // HTTP_CATALOG_SERVER is your Main webserver: eg-http://www.your_domain.com // HTTPS_CATALOG_SERVER is your Secure webserver: eg-https://www.your_domain.com /* * URLs for your site will be built via: * HTTP_SERVER plus DIR_WS_ADMIN or * HTTPS_SERVER plus DIR_WS_HTTPS_ADMIN or * HTTP_SERVER plus DIR_WS_CATALOG or * HTTPS_SERVER plus DIR_WS_HTTPS_CATALOG * ...depending on your system configuration settings * * If you desire your *entire* admin to be SSL-protected, make sure you use a "https:" URL for all 4 of the following: */ define('HTTP_SERVER', 'http://www.glasscrafts.com.au'); define('HTTPS_SERVER', 'https://www.glasscrafts.com.au'); define('HTTP_CATALOG_SERVER', 'http://www.glasscrafts.com.au'); define('HTTPS_CATALOG_SERVER', 'https://www.glasscrafts.com.au'); // Use secure webserver for catalog module and/or admin areas? define('ENABLE_SSL_CATALOG', 'true'); define('ENABLE_SSL_ADMIN', 'true'); // NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes! // * DIR_WS_* = Webserver directories (virtual/URL) // these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder) define('DIR_WS_ADMIN', '/~glass382/admin/'); define('DIR_WS_CATALOG', '/~glass382/'); define('DIR_WS_HTTPS_ADMIN', '/~glass382/admin/'); define('DIR_WS_HTTPS_CATALOG', '/~glass382/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_CATALOG_IMAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'images/'); define('DIR_WS_CATALOG_TEMPLATE', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/templates/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); define('DIR_WS_CATALOG_LANGUAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/languages/'); // * DIR_FS_* = Filesystem directories (local/physical) //the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/ define('DIR_FS_ADMIN', '/home/glass382/public_html/admin/'); define('DIR_FS_CATALOG', '/home/glass382/public_html/'); define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/'); define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/'); define('DIR_FS_CATALOG_TEMPLATES', DIR_FS_CATALOG . 'includes/templates/'); define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/'); define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); // define our database connection define('DB_TYPE', 'mysql'); define('DB_PREFIX', ''); define('DB_SERVER', 'localhost'); define('DB_SERVER_USERNAME', 'glass382_xxxxxxxxxxxxx'); define('DB_SERVER_PASSWORD', 'xxxxxxxxxxxxxxxxxx'); define('DB_DATABASE', 'glass382_xxxxxxxxxxxxxxxxx'); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', 'db'); // for STORE_SESSIONS, use 'db' for best support, or '' for file-based storage // The next 2 "defines" are for SQL cache support. // For SQL_CACHE_METHOD, you can select from: none, database, or file // If you choose "file", then you need to set the DIR_FS_SQL_CACHE to a directory where your apache // or webserver user has write privileges (chmod 666 or 777). We recommend using the "cache" folder inside the Zen Cart folder // ie: /path/to/your/webspace/public_html/zen/cache -- leave no trailing slash define('SQL_CACHE_METHOD', 'none'); define('DIR_FS_SQL_CACHE', '/home/glass382/public_html/cache'); // EOF
28 Sep 2014, 12:55 AM
#8
jenpen avatar

jenpen

Zen Follower

Join Date:
Sep 2007
Location:
Far South Coast, NSW, Australia
Posts:
427
Plugin Contributions:
0

Re: transferred site, not connecting to admin or DB

And here's includes/configure.php

<?php /** * @package Configuration Settings circa 1.3.9 * @copyright Copyright 2003-2010 Zen Cart Development Team * @copyright Portions Copyright 2003 osCommerce * @license <http://www.zen-cart.com/license/2_0.txt> GNU Public License V2.0 * File Built by zc_install on 2014-09-26 12:43:05 */ /*************** NOTE: This file is similar, but DIFFERENT from the "admin" version of configure.php. ***********/ /*************** The 2 files should be kept separate and not used to overwrite each other. ***********/ // Define the webserver and path parameters // HTTP_SERVER is your Main webserver: eg-http://www.your_domain.com // HTTPS_SERVER is your Secure webserver: eg-https://www.your_domain.com define('HTTP_SERVER', 'http://www.glasscrafts.com.au'); define('HTTPS_SERVER', 'https://www.glasscrafts.com.au'); // Use secure webserver for checkout procedure? define('ENABLE_SSL', 'true'); // NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes! // * DIR_WS_* = Webserver directories (virtual/URL) // these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder) define('DIR_WS_CATALOG', '/~glass382/'); define('DIR_WS_HTTPS_CATALOG', '/~glass382/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); define('DIR_WS_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/'); define('DIR_WS_TEMPLATES', DIR_WS_INCLUDES . 'templates/'); define('DIR_WS_PHPBB', '/'); // * DIR_FS_* = Filesystem directories (local/physical) //the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/ define('DIR_FS_CATALOG', '/home/glass382/public_html/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); define('DIR_WS_UPLOADS', DIR_WS_IMAGES . 'uploads/'); define('DIR_FS_UPLOADS', DIR_FS_CATALOG . DIR_WS_UPLOADS); define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/'); // define our database connection define('DB_TYPE', 'mysql'); define('DB_PREFIX', ''); define('DB_SERVER', 'localhost'); define('DB_SERVER_USERNAME', 'glass382_xxxxxxxxxxxxxxx'); define('DB_SERVER_PASSWORD', 'xxxxxxxxxxxxxxxxxx'); define('DB_DATABASE', 'glass382_xxxxxxxxxxxxxxxxx'); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', 'db'); // for STORE_SESSIONS, use 'db' for best support, or '' for file-based storage // The next 2 "defines" are for SQL cache support. // For SQL_CACHE_METHOD, you can select from: none, database, or file // If you choose "file", then you need to set the DIR_FS_SQL_CACHE to a directory where your apache // or webserver user has write privileges (chmod 666 or 777). We recommend using the "cache" folder inside the Zen Cart folder // ie: /path/to/your/webspace/public_html/zen/cache -- leave no trailing slash define('SQL_CACHE_METHOD', 'none'); define('DIR_FS_SQL_CACHE', '/home/glass382/public_html/cache'); // EOF Thanks again
28 Sep 2014, 1:47 AM
#9
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: transferred site, not connecting to admin or DB

I guess I was spot-on with the remnants of glass382 in your configure.php files.

Admin file:

// NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!
// * DIR_WS_* = Webserver directories (virtual/URL)
// these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
define('DIR_WS_ADMIN', '/~glass382/admin/');
define('DIR_WS_CATALOG', '/
~glass382/
');
define('DIR_WS_HTTPS_ADMIN', '/~glass382/admin/');
define('DIR_WS_HTTPS_CATALOG', '/
~glass382/
');

Store file:

// NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!
// * DIR_WS_* = Webserver directories (virtual/URL)
// these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
define('DIR_WS_CATALOG', '/~glass382/');
define('DIR_WS_HTTPS_CATALOG', '/~glass382/');
The highlighted stuff is giving you your headaches....

Firstly, never upgrade ZC and move your site at the same time!

Rather than stuffing around with the 2 configure files I suggest this plan of action - assuming you have a full backup of your file system and your DB, all from your old installation on your old server.

  1. On your new server delete all files
  2. using phpMyAdmin navigate to your DB and drop all tables leaving you with a blank DB
  3. if your old install was 1.3.9h then upload a fresh ZC 1.3.9h fileset
  4. run zc_install using the instructions for a 1.3.9h installation
  5. rename your admin folder, reflect the changes in your configure.php files and then set the permissions of your 2 configure.php files to 400 or 444
  6. test that all is working
  7. if all ok then go back to phpMyAdmin and navigate to your DB and drop all tables leaving you again with a blank DB
  8. import your backed up DB into the new blank DB
  9. upload your backed up 1.3.9h files overwriting all but the 2 configure.php files (it should give you a transfer error in your FTP client)
  10. test again and see that all is working ok.
  11. if all ok then you have succeeded in transferring your 1.3.9h site to the new server.

The next step would be upgrading 1.3.9h to 1.5.3

If you need any help with this then send me a pm or email office (at) isonetwork (dot) net (dot) au

Good luck / Frank

NOTE: We are sorry that Frank is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

28 Sep 2014, 2:10 AM
#10
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: transferred site, not connecting to admin or DB

NOTE: We are sorry that Frank is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

28 Sep 2014, 2:23 AM
#11
jenpen avatar

jenpen

Zen Follower

Join Date:
Sep 2007
Location:
Far South Coast, NSW, Australia
Posts:
427
Plugin Contributions:
0

Re: transferred site, not connecting to admin or DB

No, as I said, glass382 is the correct prefix.

28 Sep 2014, 2:53 AM
#12
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: transferred site, not connecting to admin or DB

jenpen:

No, as I said, glass382 is the correct prefix.

You can't have ~glass382/ in your 2 configure files!

glass382 is merely your account name on your new server, nothing else.

If you don't want to go the sure and long way as I suggested above then simply change the name of your admin folder to your_renamed_admin_folder.

Now make the following changes to your 2 configure.php files, on your server set the permissions of these files to 777 or 755, upoad your changed files and finally set permissions back to 400 or 444.

Changed portion of Admin configure.php file:

// NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!
// * DIR_WS_* = Webserver directories (virtual/URL)
// these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
define('DIR_WS_ADMIN', '/your_renamed_admin_folder/');
define('DIR_WS_CATALOG', '/');
define('DIR_WS_HTTPS_ADMIN', '/your_renamed_admin_folder/');
define('DIR_WS_HTTPS_CATALOG', '/');

Changed portion of Store configure.php file:

// NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!
// * DIR_WS_* = Webserver directories (virtual/URL)
// these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
define('DIR_WS_CATALOG', '/');
define('DIR_WS_HTTPS_CATALOG', '/');

If it does not work (and it will...) then you can always revert back to the settings you have posted here on the forum.

Cheers / Frank

NOTE: We are sorry that Frank is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

28 Sep 2014, 3:21 AM
#13
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: transferred site, not connecting to admin or DB

When done with the above, grab the "Fix_Cache_Key" utility to reset your Admin->Sessions->Session Directory key so that it uses the proper folder path for your new server:

http://www.zen-cart.com/downloads.php?do=file&id=8

Simply upload the file to your NEW Zen Cart folder and open fix_cache_key.php in your browser. It will give you status messages. Delete fix_cache_key.php when you're finished.

NOTE: We are sorry that Frank is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

28 Sep 2014, 4:09 AM
#14
jenpen avatar

jenpen

Zen Follower

Join Date:
Sep 2007
Location:
Far South Coast, NSW, Australia
Posts:
427
Plugin Contributions:
0

Re: transferred site, not connecting to admin or DB

glass382_ is the prefix for my DB and DB user. I checked again in cPanel.

However... IT WORKED! :clap::clap::clap:

I did the fix_cache_key too - and deleted. Thanks so much.

28 Sep 2014, 4:12 AM
#15
jenpen avatar

jenpen

Zen Follower

Join Date:
Sep 2007
Location:
Far South Coast, NSW, Australia
Posts:
427
Plugin Contributions:
0

Re: transferred site, not connecting to admin or DB

OK, when I said it worked, what I meant is that I'm into my Admin, which is cause for celebration. However, my DB has still gone AWOL. I'll re-upload and see what happens.

28 Sep 2014, 4:21 AM
#16
jenpen avatar

jenpen

Zen Follower

Join Date:
Sep 2007
Location:
Far South Coast, NSW, Australia
Posts:
427
Plugin Contributions:
0

Re: transferred site, not connecting to admin or DB

28 Sep 2014, 4:35 AM
#17
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: transferred site, not connecting to admin or DB

jenpen:

Hallelujah... http://www.glasscrafts.com.au

Thanks for the update that this is now working for you.

I think things have gone wrong when you pointed your domain name to the new server and the DNS entry had not propagated when you did the install on your new server. That may have caused the ~glass382/ being automatically entered into your configure.php files.

Explanation is here - right at the bottom of that page (Advanced Tip):

http://www.zen-cart.com/content.php?142-i-want-to-move-my-zen-cart-installation-to-another-host-or-a-different-server

Cheers / Frank

NOTE: We are sorry that Frank is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

28 Sep 2014, 4:42 AM
#18
jenpen avatar

jenpen

Zen Follower

Join Date:
Sep 2007
Location:
Far South Coast, NSW, Australia
Posts:
427
Plugin Contributions:
0

Re: transferred site, not connecting to admin or DB

Thought I had a good process going - as I said I've done it so many times before (other zen carts). But never to this web host. They have also made other problems for me, so I might skip them in the future. Thanks again.

28 Sep 2014, 12:03 PM
#19
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: transferred site, not connecting to admin or DB

frank18:

Ofc, permissions should be changed to 777 before editing these files and back to 400 or 444 after the edit is done.

Apologies if this appears pedantic, but there is **never ever **a reason why .php files need a permission of 777. (folders are another matter).
Although in most cases the 777 permissions won't cause any problems, with some servers it will cause a 'server 500' error.

664 is generally all that is needed. In very rare cases, 666 will be required. 777 introduces a security risk, which thankfully is something that ZenCart checks for in regards to the configure.php files. Alas, it doesn't check for other files with unneeded write permissions, and less experienced developers seem to have a nasty habit of using/suggesting 777 whenever there is some kind of problem reading or writing a file. Bad news. Bad advice.

Cheers
RodG

NOTE: We are sorry that Rod is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

Ozpost - The Ultimate Shipping module for Australian Merchants. Click these links for its Homepage, or Download from Zen-Cart.com.

28 Sep 2014, 2:00 PM
#20
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: transferred site, not connecting to admin or DB

RodG:

Apologies if this appears pedantic,....

Pedantic and totally off-topic Rod

NOTE: We are sorry that Frank is no longer with us.
We are grateful for all his contributions to the Zen Cart community.