Frold Posted September 24, 2002 Posted September 24, 2002 I have a liveshop and after I have changed webprovider I have some problems with my admin-tool. If I try to add a new product under categories/product I get a empty folder after I have created it. And when I try to see my liveshop I just see a empty space where the folder sould have been. How can I fix that? I have the same problem when I try to add a new product.
Paul_C Posted September 24, 2002 Posted September 24, 2002 I noticed this same kind of thing when I installed mod_gzip on my development server. I don't know why it happened, but turning mod_gzip off for php files seemed to fix it. "It's a damn poor mind that can only think of one way to spell a word." -- Andrew Jackson
Frold Posted September 25, 2002 Author Posted September 25, 2002 Thansk, but I haven?t installed that mod so I still have the problem. Anything else I can do to fix it?
Paul_C Posted September 25, 2002 Posted September 25, 2002 mod_gzip is an Apache module. See if it's running on your server (ask your web provider). "It's a damn poor mind that can only think of one way to spell a word." -- Andrew Jackson
Frold Posted September 25, 2002 Author Posted September 25, 2002 okay I will se if that can fix it. Any other things that maybe can fix it?
Frold Posted September 25, 2002 Author Posted September 25, 2002 well, it doesn?t work with unable the mod_gzip because my webprovider have no such mod on his webservers. But now I get a error messege when I try to add a new product Warning: Variable passed to reset() is not an array or object in /home/jopa/public_html/kafi/catalog/admin/includes/classes/object_info.php on line 17 Warning: Variable passed to each() is not an array or object in /home/jopa/public_html/kafi/catalog/admin/includes/classes/object_info.php on line 18 But I dosn?t get any error messeges when trying to add a new categori - but I still not able to add a new categori
Paul_C Posted September 25, 2002 Posted September 25, 2002 I have no idea what to tell you. Those are the exact symptoms I found with mod_gzip on my server, so if you find out what is going on I'd really like to know as well. "It's a damn poor mind that can only think of one way to spell a word." -- Andrew Jackson
Frold Posted September 25, 2002 Author Posted September 25, 2002 Hallo, Well it seems to me that I have the some problem as Paul_C I can add specials but so far nothing else works (can't add or edit catagories, products, or manufacturers). It got really fun when I tried adding another product. I hit preview and out it spat Warning: Variable passed to reset() is not an array or object in c:wwwrootoscadminincludesclassesobject_info.php on line 17 Warning: Variable passed to each() is not an array or object in c:wwwrootoscadminincludesclassesobject_info.php on line 18 but my webprovider doesn?t have mod_gzip running what could the problem then be?
Frold Posted September 25, 2002 Author Posted September 25, 2002 is it a problem in my admin/inldude/configure.php? <?php// Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://www.jopa.dk'); // eg, http://localhost - should not be NULL for productive servers define('HTTPS_SERVER', 'https://www.jopa.dk'); // eg, https://localhost - should not be NULL for productive servers define('HTTP_CATALOG_SERVER', 'http://www.jopa.dk'); define('HTTPS_CATALOG_SERVER', 'https://www.jopa.dk'); define('ENABLE_SSL', 'false'); // secure webserver for administration tool define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', '/home/jopa/public_html/kafi'); // where the pages are located on the server define('DIR_WS_ADMIN', '/kafi/catalog/admin/'); // absolute path required define('DIR_FS_ADMIN', '/home/jopa/public_html/kafi/catalog/admin/'); // absolute pate required define('DIR_WS_CATALOG', '/kafi/catalog/'); // absolute path required define('DIR_FS_CATALOG', '/home/jopa/public_html/kafi/catalog/'); // absolute path required define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/'); 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', DIR_WS_CATALOG . 'includes/languages/'); 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_BACKUP', DIR_FS_ADMIN . 'backups/'); // define our database connection define('DB_SERVER', 'localhost'); // eg, localhost - should not be NULL for productive servers define('DB_SERVER_USERNAME', '*****'); define('DB_SERVER_PASSWORD', '*****'); define('DB_DATABASE', '******'); define('USE_PCONNECT', 'false'); // use persisstent connections? define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql' ?>
Frold Posted September 25, 2002 Author Posted September 25, 2002 It works now!!! My webprovider have made some changes in the php.ini ;;;;;;;;;;;;;;;;; File Uploads ; ;;;;;;;;;;;;;;;; ; Whether to allow HTTP file uploads. file_uploads = on and zlib compression is set on hope it can help somebody!!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.