After a great deal of work using a hosted server I got an ecommerce site to display identically on IE, Firefox, and Chrome. Everything functioned correctly until a purchase was made. Then the software crashed for lack of PHP memory. To gain this memory I had to place the site on a Parallels Centos virtual shared server. Now the application works correctly through the entire purchase, payment, and Thank You - Appreciate page. However, the administration utility fails upon my submitting user/password. The error_log states that a file cannot be found. What file I've so far been unable to determine. Below please find a copy of those errors as they are stated in the log. I posted for discussion everything within parentheses on a PHP forum. Another problem is that the server can't find the main-page background image. Finally, the application only displays correctly with the Chrome browser. With IE and Firefox there are multiple issues. The ZC version is 1.50 and the server php is version 5.3. The ZC files uploaded to the shared virtual server are identical to those which work correctly on the hosted server. So also the database. Below, my "Statement #1" presumption of recursion is a best guess using the debugging code I've succeeded with so far. Nothing in the Cache file sheds light on the unlocatable file. Any insight into these issues would be greatly appreciated.
"Here are three versions of the same error message (PHP 5.x and Red Hat Linux OS):
(1) [Fri Jan 30 12:06:57 2015] [error] [client 73.181.84.157] File does not exist: /var/www/vhosts/MyDomain.com/MyDomain.com/zyBer-admin/login
(2) [Fri Jan 30 12:07:28 2015] [error] [client 73.181.84.157] File does not exist: /var/www/vhosts/MyDomain.com/MyDomain.com/var
(3) [Fri Jan 30 12:38:32 2015] [error] [client 73.181.84.157] File does not exist: /var/www/vhosts/MyDomain.com/MyDomain.com/zencart
Statement #1 is most perplexing. The file login (I get the same message if I use login.php for the call address) calls itself. In older programming languages it would be called a recursion. Yet the server can't find the self-same file whose code it is executing. I've tried using a complete URL for the file call -i.e., http:/MyDomain/folder-containing-login.php/login.php, and that doesn't solve the problem.
Statement #2: What's Linux address .../var got to do with this?
Statement #3: Nowhere in this ecommerce application is there a "zencart" file. The database is named zencart-database. Would it be not unprecedented that the error log generator would clip the characters zencart from the complete database name?"
Bookmarks