Hi,
I installed 2 weeks ago oscommerce-2.2ms2-060817 and register_globals_v1.5_bug_fixes_1_2 contribution successfully in my shared server (stargateinc). I haven´t changed the directory structure.
I´ve installed EP_v2_76d_MS2. I can access to EP. Here are the seps I followed to install this contribution:
1.- Directory catalog/temp created with chdmod 777.
2.- I´ve some products in my database, all of them with model number.
3.- I copied file easypopulate.php and easypopulate_functions into admin/ and the file /catalog/admin/includes/classes/table_block.php has been copied.
4.- For adding link to the Admin, I edited file admin/includes/boxes/catalog.php correctly.
5.- I´ve changed configuration variuables in easypopulate.php:
--> $modelsize = 9; // I only need 9 digits to my model number. All products will have a 9 digit code.
--> I´ve changed the froogle paths correctly
6.- I corrected the EP download problem (No files where created in the temp directory).
7.- Now I´m unable to upload files.
Catalog/admin/includes/configure.php:
define('HTTP_SERVER', 'http://www.estacion-sonora.com'); // eg, http://localhost - should not be empty for productive servers
define('HTTP_CATALOG_SERVER', 'http://www.estacion-sonora.com');
define('HTTPS_CATALOG_SERVER', '');
define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module
define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT); // where the pages are located on the server
define('DIR_WS_ADMIN', '/catalog/admin/'); // absolute path required
define('DIR_FS_ADMIN', '/home/oliver66/public_html/estacion-sonora/catalog/admin/'); // absolute pate required
define('DIR_WS_CATALOG', '/catalog/'); // absolute path required
define('DIR_FS_CATALOG', '/home/oliver66/public_html/estacion-sonora/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 empty for productive servers
define('DB_SERVER_USERNAME', 'mylogin');
define('DB_SERVER_PASSWORD', 'mypassword');
define('DB_DATABASE', 'oliver66_ESTACION');
define('USE_PCONNECT', 'false'); // use persisstent connections?
define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'
catalog/admin/easypopulate.php
$tempdir = DIR_FS_DOCUMENT_ROOT . "/catalog/temp/";
-------------------------------------------------------------------------
I donwnloaded a file with EP and tried to upload the same file. This is the error I get when I try to upload:
Warning: move_uploaded_file(/catalog/temp/EP2006dic26-0606M.txt) [function.move-uploaded-file]:
failed to open stream: No such file or directory in
/home/oliver66/public_html/estacion-sonora/catalog/admin/easypopulate_functions.php on line 43
Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/php807WEY'
to '/catalog/temp/EP2006dic26-0606M.txt' in
/home/oliver66/public_html/estacion-sonora/catalog/admin/easypopulate_functions.php on line 43
File uploaded.
Temporary filename: /tmp/php807WEY
User filename: EP2006dic26-0606M.txt
Size:
Warning: file(/catalog/temp/EP2006dic26-0606M.txt) [function.file]: failed to open stream:
No such file or directory in
/home/oliver66/public_html/estacion-sonora/catalog/admin/easypopulate.php on line 815
Warning: Invalid argument supplied for foreach() in
/home/oliver66/public_html/estacion-sonora/catalog/admin/easypopulate.php on line 854
------------------------------------------------------------------------
I tried to change $tempdir = DIR_FS_DOCUMENT_ROOT . "/catalog/temp/"; to
$tempdir = "/catalog/temp/";
$tempdir2 = "/catalog/temp/";
Also
$tempdir = "/temp/";
$tempdir2 = "/temp/";
It didn´t work. I need help, I could´t find a solution in this forum
Thanks a lot.
Latest News: (loading..)
easy polulate uploading errors
Started by petetto, Dec 26 2006, 17:07
No replies to this topic














