Guest Posted June 15, 2004 Share Posted June 15, 2004 make sure there are no spaces in the name of the file you uploaded, and you must use exact spelling, etc, if you have a cap letter it must be entered asa cap letter, etc Quote Link to comment Share on other sites More sharing options...
warminspirations Posted June 15, 2004 Share Posted June 15, 2004 Did all of that. The file name is WorldofProducts.txt, and that is how I imported it. My site is www.warminspirations.com/catalog Quote Link to comment Share on other sites More sharing options...
Guest Posted June 15, 2004 Share Posted June 15, 2004 ok now that you gave me the store name, in your easypopulate.php file you posted you need to add /catalog in front of /temp/ in the top area of the file. Quote Link to comment Share on other sites More sharing options...
warminspirations Posted June 15, 2004 Share Posted June 15, 2004 I did that also, it gave me errors. I change it quickly and post it in a sec. Quote Link to comment Share on other sites More sharing options...
warminspirations Posted June 15, 2004 Share Posted June 15, 2004 Here is the error that I get when i add catalog to /temp/. Filename: WorldofProducts.txt Warning: file(): Unable to access /home/content/t/a/m/tamekalawrence/html/catalogcatalog/temp/WorldofProducts.txt in /home/content/t/a/m/tamekalawrence/html/catalog/admin/easypopulate.php on line 672 Warning: file(/home/content/t/a/m/tamekalawrence/html/catalogcatalog/temp/WorldofProducts.txt): failed to open stream: No such file or directory in /home/content/t/a/m/tamekalawrence/html/catalog/admin/easypopulate.php on line 672 Warning: Invalid argument supplied for foreach() in /home/content/t/a/m/tamekalawrence/html/catalog/admin/easypopulate.php on line 677 Quote Link to comment Share on other sites More sharing options...
Guest Posted June 15, 2004 Share Posted June 15, 2004 how is your configure.php file setup? you are getting two catalogs and should only get one here. easy populate is very tempermental and needs things setup properly. Quote Link to comment Share on other sites More sharing options...
warminspirations Posted June 15, 2004 Share Posted June 15, 2004 I haven't looked at that file in so long, where is it located? Quote Link to comment Share on other sites More sharing options...
warminspirations Posted June 15, 2004 Share Posted June 15, 2004 Found it, here it is: <?php /* $Id: configure.php,v 1.14 2003/02/21 16:55:24 dgw_ Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2002 osCommerce Released under the GNU General Public License */ // define our webserver variables // FS = Filesystem (physical) // WS = Webserver (virtual) define('HTTP_SERVER', 'http://www.warminspirations.com'); // eg, http://localhost or - https://localhost should not be NULL for productive servers define('HTTP_CATALOG_SERVER', 'http://www.warminspirations.com'); define('HTTPS_CATALOG_SERVER', 'XXXXX'); define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', '/home/content/t/a/m/tamekalawrence/html/catalog'); // where your pages are located on the server. if $DOCUMENT_ROOT doesnt suit you, replace with your local path. (eg, /usr/local/apache/htdocs) define('DIR_WS_ADMIN', '/catalog/admin/'); define('DIR_FS_ADMIN', '/home/content/t/a/m/tamekalawrence/html/catalog/admin/'); define('DIR_WS_CATALOG', '/catalog/'); define('DIR_FS_CATALOG', '/home/content/t/a/m/tamekalawrence/html/catalog/'); 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', 'XXXXX'); define('DB_SERVER_USERNAME', 'XXXXX'); define('DB_SERVER_PASSWORD', 'XXXXX'); define('DB_DATABASE', 'XXXX'); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', 'mysql'); ?> Quote Link to comment Share on other sites More sharing options...
Guest Posted June 15, 2004 Share Posted June 15, 2004 that is the admin one, which appears fine, just check the catalog one and make sure the http://server.name is just that, without the catalog at the end. Quote Link to comment Share on other sites More sharing options...
warminspirations Posted June 16, 2004 Share Posted June 16, 2004 The server name is fine in the catalog/includes/configure.php. Listed as www.warminspirations.com Any other suggestions would be greatly appreciated. Quote Link to comment Share on other sites More sharing options...
Guest Posted June 16, 2004 Share Posted June 16, 2004 what is your document root? to find that out, go into the admin of the store, then go to tools, server info and search for document_root Quote Link to comment Share on other sites More sharing options...
warminspirations Posted June 16, 2004 Share Posted June 16, 2004 this is what is in server info Server Host: () Database Host: mysql7.secureserver.net (10.0.6.9) Server OS: Database: MySQL 4.0.20-max-log Server Date: 06/15/2004 17:56:07 Datebase Date: 06/15/2004 17:54:49 Server Up Time: HTTP Server: Apache/1.3.29 (Unix) FrontPage/5.0.2.2634 mod_ssl/2.8.16 OpenSSL/0.9.7a PHP Version: 4.3.2 (Zend: ) Quote Link to comment Share on other sites More sharing options...
Guest Posted June 16, 2004 Share Posted June 16, 2004 you have to do a search for document_root, once you have that up, do an edit/find and search for document_root reason for this, is you getting the double catalog Quote Link to comment Share on other sites More sharing options...
warminspirations Posted June 16, 2004 Share Posted June 16, 2004 you have to do a search for document_root, once you have that up, do an edit/find and search for document_root Am I searching the server info page? Quote Link to comment Share on other sites More sharing options...
Guest Posted June 16, 2004 Share Posted June 16, 2004 yes you are searching there. Quote Link to comment Share on other sites More sharing options...
warminspirations Posted June 16, 2004 Share Posted June 16, 2004 this is what is in server info Server Host: () Database Host: mysql7.secureserver.net (10.0.6.9) Server OS: Database: MySQL 4.0.20-max-log Server Date: 06/15/2004 17:56:07 Datebase Date: 06/15/2004 17:54:49 Server Up Time: HTTP Server: Apache/1.3.29 (Unix) FrontPage/5.0.2.2634 mod_ssl/2.8.16 OpenSSL/0.9.7a PHP Version: 4.3.2 (Zend: ) This is everything on the server info page. I don't need to search, because there is not alot of info on the page. Quote Link to comment Share on other sites More sharing options...
Guest Posted June 16, 2004 Share Posted June 16, 2004 (edited) it should actually be about 2 or 3 pages long. actually i found it, in your admin configure.php define('DIR_FS_DOCUMENT_ROOT', '/home/content/t/a/m/tamekalawrence/html/catalog'); needs to be: define('DIR_FS_DOCUMENT_ROOT', '/home/content/t/a/m/tamekalawrence/html/'); then in your easy populate put in /catalog/temp/ Edited June 16, 2004 by Mibble Quote Link to comment Share on other sites More sharing options...
warminspirations Posted June 16, 2004 Share Posted June 16, 2004 This fixed the error message problem, but I still don't see where the products uploaded to. Quote Link to comment Share on other sites More sharing options...
warminspirations Posted June 16, 2004 Share Posted June 16, 2004 Oh yeah, Thanks John for finding that needle in a haystack!!! Onto the next problem... Quote Link to comment Share on other sites More sharing options...
Guest Posted June 16, 2004 Share Posted June 16, 2004 if you browse back to about page 10 or so, you will find my easy populate php script which has additional fields, you can use that as a reference to yours and modify it respectively. Mibble, I was wondering if you or some other knowledgable person could assist me to get the EP working with the downloads problem I'm having? I had a look at your code and spent two days trying to figure it out.:o I don't know my PHP/SQL well enough to figure out what I need to do. :( To break it down I need to have EP recognise (download and upload) the appropriate info from the table - products_attributes_download. products_attributes_filename - the filename of the download eg: ambience.zip products_attributes_maxdays - max days download is available eg: 2 products_attributes_maxcount - max number of downloads eg: 4 Would you (or someone) be able to help me out please? - Simon Quote Link to comment Share on other sites More sharing options...
Guest Posted June 16, 2004 Share Posted June 16, 2004 adding an attribute via ep is not the easiest thing to do, how many attributes do you have to add? have you modified the code to reflect the download option? yes, that one you had was a needle in the haystack Quote Link to comment Share on other sites More sharing options...
warminspirations Posted June 16, 2004 Share Posted June 16, 2004 have you modified the code to reflect the download option? Is that line for me? If so, how would I check the download option? Quote Link to comment Share on other sites More sharing options...
Guest Posted June 16, 2004 Share Posted June 16, 2004 Sorry Tameka, that is meant for Castle. For yours I am waiting to see how many attributes you have. there is EP-GNA, however I ran into a field limitation with it. Quote Link to comment Share on other sites More sharing options...
warminspirations Posted June 16, 2004 Share Posted June 16, 2004 No problem at all...is the attributes info something that I give you or are you looking elsewhere in something that I have previously given? What is a field limitation, and how can I help? Quote Link to comment Share on other sites More sharing options...
warminspirations Posted June 16, 2004 Share Posted June 16, 2004 I have to close my eyes. I have been working on this for almost 12 hours without a good break. I will revisit this tomorrow. I will try to post to you then, if you are around. Thank you soooo much for your help. It is really appreciated. Please inform if there is something that I can do for you. Tameka in MD Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.