Trying to copy my store over to a dedicated home server and running into a few issues.
My webstore has been up and running on a major budget hosting provider for a few years with almost no issues. It's a v151 (not an upgrade) and I think only plugins are Cherry Zen template, Edit Orders, Lightbox, Image Handler 4, and Easy Populate.
Interested in learning about Linux, servers, PHP, MySQL, etc. so following info found online set up a home computer with Ubuntu Server 14.04.3, made it a LAMP server, installed MyPHPAdmin, Curl, and probably a few other things. I was able to install Zen Cart 1.51 with no apparent problems. The default store with demo items looked to be working perfectly. Then FTPed my online store files and database and copied them over to the home server following closely the instructions found on this forum at https://www.zen-cart.com/content.php?142.
After some learning curve hiccups eventually figured everything out and my home test server looked exactly like my online site except for (at least) two things I can't fix. The one I want to solve first: some unwanted HTML text that shows up when you click on any Category. The text shows up right before the dropdown box and for example in my Cameras category looks exactly like this:
Home :: Camera-Photo :: Cameras
Cameras
Sort by: $value) { if($key != 'sort' and $key!='show_order' and $key!='disp_order') { //echo ''; echo zen_draw_hidden_field($key, $value); } } ?>
The rest of the page looks good. At first I thought a file got corrupted in download so retried (several times), also tried different folders, erasing everything and starting over, and a few other things. No matter what I do that unwanted text is always there. Obviously it looks like there is a "<" missing but don't know what file to edit, or why it happens every install. So now am thinking it might be due to the fact that my home server and the hosting server are running different versions of PHP, MySQL or other OS software issues. The next thing was going to do is to try to change my home server so it has all the same versions of the software as the hosting server but before I try that figured would try to get some input on the forum.
Here is my home server configuration:
Server Information
Server Host: ubuntugra (127.0.1.1) Database Host: localhost (127.0.0.1)
Server OS: Linux 3.19.0-33-generic Database: MySQL 5.5.46-0ubuntu0.14.04.2
Server Date: 11/17/2015 10:55:48 Database Date: 11/17/2015 10:55:48
Server Up Time: 10:55:48 up 1:21, 0 users, load average: 0.00, 0.02, 0.04 HTTP Server: Apache/2.4.7 (Ubuntu)
PHP Version: 5.5.9-1ubuntu4.14 (Zend: 2.5.0) PHP Memory Limit: 128M PHP Safe Mode: Off
PHP File Uploads: On Max Size: 17M POST Max Size: 18M
Database Data Size: 6,861 kB
Here is the live/online hosting server configuration:
Server Information
Server Host: icpu3219 (XX.XXX.XXX.188) Database Host: XXXXXXXXXX.com (XXX.XX.XXX.20)
Server OS: Linux 3.2.72-grsec-infong-15294 Database: MySQL 5.1.73-log
Server Date: 11/17/2015 13:24:12 Database Date: 11/17/2015 13:24:12
Server Up Time: HTTP Server: Apache
PHP Version: 5.4.45 (Zend: 2.4.0) PHP Memory Limit: 120M PHP Safe Mode: Off
PHP File Uploads: On Max Size: 40M POST Max Size: 8M
Database Data Size: 6,865 kB Database Index Size: 1,619 kB
Any suggestions on how to solve this would be appreciated, as well as general recommendations on setting up a home test server. Server is just for testing and educational purposes and I don't plan on setting up email or trying to actually host the site from home. Once everything is running smoothly I plan on backing everything up then running upgrade to 1.54 to see how that goes.
Second issue has to do with Image Handler 4 only bringing up Large image popups on mouseover. On my live site it will bring up small or medium size images as I have it set up to do.
Thanks. Ted


Reply With Quote
