Guest Posted December 30, 2005 Share Posted December 30, 2005 When I try to upload the .txt file to easy populate I keep getting the following error in the admin header.......... Easy Populate 2.76-MS2 - Default Language : English(1) Warning: move_uploaded_file(/content/DesignerPlus/m/o/mobifone.co.uk/web/catalog//catalog/temp/EP2005Dec29-1908.txt): failed to open stream: No such file or directory in /content/DesignerPlus/m/o/mobifone.co.uk/web/catalog/admin/easypopulate_functions.php on line 32 Warning: move_uploaded_file(): Unable to move '/tmp/phpJu0P4y' to '/content/DesignerPlus/m/o/mobifone.co.uk/web/catalog//catalog/temp/EP2005Dec29-1908.txt' in /content/DesignerPlus/m/o/mobifone.co.uk/web/catalog/admin/easypopulate_functions.php on line 32 File uploaded. Temporary filename: /tmp/phpJu0P4y User filename: EP2005Dec29-1908.txt Size: 2191 Warning: file(/content/DesignerPlus/m/o/mobifone.co.uk/web/catalog//catalog/temp/EP2005Dec29-1908.txt): failed to open stream: No such file or directory in /content/DesignerPlus/m/o/mobifone.co.uk/web/catalog/admin/easypopulate.php on line 665 Warning: Invalid argument supplied for foreach() in /content/DesignerPlus/m/o/mobifone.co.uk/web/catalog/admin/easypopulate.php on line 688 Does anyone know what I am doing wrong. Link to comment Share on other sites More sharing options...
Guest Posted December 30, 2005 Share Posted December 30, 2005 I have just noticed that in the following code there is a lot of // and catalog is there twice e.g. (/content/DesignerPlus/m/o/mobifone.co.uk/web/catalog//catalog/temp/EP2005Dec29-1908.txt) Any ideas on where to got to fix this. Thanks Link to comment Share on other sites More sharing options...
Jack_mcs Posted December 30, 2005 Share Posted December 30, 2005 That problem can be caused by the wrong path in the EP file. However, I think it is more likely that you have a mistake in your configure.php file, which is why youa re getting the duplicate catalog entry. If you post the configure file here, without the database information, someone will take a look at it for you. Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
Guest Posted December 30, 2005 Share Posted December 30, 2005 Hi, Thanks here is my code from catalog/admin/includes/configure.php <?php /* osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2003 osCommerce Released under the GNU General Public License */ // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://www.xxxxxxxxxxxx); // eg, http://localhost - should not be empty for productive servers define('HTTP_CATALOG_SERVER', 'http://www.mobifone.co.uk'); define('HTTPS_CATALOG_SERVER', 'https://secure.hosts.co.uk/~mobifone.co.uk'); define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', '/content/DesignerPlus/m/o/mobifone.co.uk/web/catalog/'); // where the pages are located on the server define('DIR_WS_ADMIN', '/catalog/admin/'); // absolute path required define('DIR_FS_ADMIN', '/content/DesignerPlus/m/o/mobifone.co.uk/web/catalog/admin/'); // absolute pate required define('DIR_WS_CATALOG', '/catalog/'); // absolute path required define('DIR_FS_CATALOG', '/content/DesignerPlus/m/o/mobifone.co.uk/web/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', 'xxxxxxxxxxx'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', 'xxxxxxxx'); define('DB_SERVER_PASSWORD', 'xxxxxxxxxx'); define('DB_DATABASE', 'xxxxxxxx'); define('USE_PCONNECT', 'false'); // use persisstent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' ?> Link to comment Share on other sites More sharing options...
Jack_mcs Posted December 30, 2005 Share Posted December 30, 2005 That looks OK. In your EP file, be sure you hae the path set to catalog/temp/ (no leading slash). Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
Guest Posted December 30, 2005 Share Posted December 30, 2005 That looks OK. In your EP file, be sure you hae the path set to catalog/temp/ (no leading slash). Jack Would this be in easypopulate.php , can you give me some more info, I am new to this. Thanks Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.