Hello Diva,
I am having major issues with the install. I am using zen cart 1.51, php 5.3, mysql 5.0.91-log. Super Orders v.4.0 downloaded from the plug in section latest mod Dec 12, 2012. This is a clean install, I have not added any other mods that touch the files in Super Orders, so I had no need to merge. As per the instructions, I had planned on using Edit Orders and Ty package Tracker, so I went ahead and installed them first, checking my site after each to make sure they had installed correctly.
I did not load the COWOA files. After the install, I was able to log into my admin for just a moment, then when I clicked a link, I received a 500 error. Could not access my admin or front-end of my site. After FTP'ing my logs, I had the errors in the fpdf.php file listed a few posts back. After correcting that file, I am able to access my admin, but front end is still down,and I notice that now instead of my url in the address bar taking me to main page , it is trying to take me to a login page-index.php?main_page=login. My error logs are as follows:
-
04-Feb-2013 15:24:39 UTC] PHP Warning: file(//*///public_html/cache/zc_d6616cb5f4c2cb55d422ea67feb723b0.sql): failed to open stream: No such file or directory in /**//**/*public_html/includes/classes/cache.php on line 149
-
[04-Feb-2013 15:24:39 UTC] PHP Warning: implode(): Invalid arguments passed in //*//*/public_html/includes/classes/cache.php on line 150
3.[04-Feb-2013 15:24:39 UTC] PHP Warning: Variable passed to each() is not an array or object in //*//*/public_html/includes/classes/db/mysql/query_factory.php on line 153
As far as the first error is concerned, I do have /public_html/cache/zc_d6616cb5f4c2cb55d422ea67feb723b0.sql, Also, I do not have a prefix on my db, as I thought at first when I saw the zc_ that maybe it was erring looking for a zc_ prefix.
This are the offending lines from the first and second errors listed in the log for cache.php
function sql_cache_read($zf_query) {
global $db;
$zp_cache_name = $this->cache_generate_cache_name($zf_query);
switch (SQL_CACHE_METHOD) {
case 'file':
$zp_fa = file(DIR_FS_SQL_CACHE . '/' . $zp_cache_name . '.sql'); (this is my line 149)
$zp_result_array = unserialize(implode('', $zp_fa));
return $zp_result_array;
break;
case 'database':
$sql = "select * from " . TABLE_DB_CACHE . " where cache_entry_name = '" . $zp_cache_name . "'";
$zp_cache_result = $db->Execute($sql);
$zp_result_array = unserialize(base64_decode($zp_cache_result->fields['cache_data']));
return $zp_result_array;
break;
case 'memory':
return true;
break;
case 'none':
default:
return true;
break;
Here is my query_factory.php
global $zc_cache;
if ($zf_limit) {
$zf_sql = $zf_sql . ' LIMIT ' . $zf_limit;
}
$this->zf_sql = $zf_sql;
if ( $zf_cache AND $zc_cache->sql_cache_exists($zf_sql, $zf_cachetime) ) {
$obj = new queryFactoryResult;
$obj->cursor = 0;
$obj->is_cached = true;
$obj->sql_query = $zf_sql;
$zp_result_array = $zc_cache->sql_cache_read($zf_sql);
$obj->result = $zp_result_array;
if (sizeof($zp_result_array) > 0 ) {
$obj->EOF = false;
while (list($key, $value) = each($zp_result_array[0])) { (this is my line 153)
$obj->fields[$key] = $value;
}
return $obj;
} else {
$obj->EOF = true;
Thank you so much for your help.
Sharon