Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

EasyPopulate - Setup problems


anibalcascais

Recommended Posts

Hi,

ok...i've read dozens of posts on this matter to no use! here's the problem:

I can't upload a easy populate file despite the fact that I can't see no errors in my configuration.

I have the temp/tmp folders in the right places (chmoded 777) and can't see nothing in the logs.

Here are the relevant files:

 

CONFIGURE.PHP

// Define the webserver and path parameters

// * DIR_FS_* = Filesystem directories (local/physical)

// * DIR_WS_* = Webserver directories (virtual/URL)

define('HTTP_SERVER', ''); // eg, http://localhost - should not be empty for productive servers

define('HTTP_CATALOG_SERVER', 'http://205.214.80.96');

define('HTTPS_CATALOG_SERVER', 'http://aabox.com');

define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module

define('DIR_FS_DOCUMENT_ROOT', 'home2/iufjtdat/public_html'); // where the pages are located on the server

define('DIR_WS_ADMIN', ''); // absolute path required

define('DIR_FS_ADMIN', 'home2/iufjtdat/public_html/admin/'); // absolute pate required

define('DIR_WS_CATALOG', '/~iufjtdat/'); // absolute path required

define('DIR_FS_CATALOG', '/home2/iufjtdat/public_html/'); // 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/');

 

ERROR.LOG

[17-Feb-2005 10:40:50] PHP Warning: move_uploaded_file(home2/iufjtdat/public_html/temp/EP2005Feb17-0808.txt): failed to open stream: No such file or directory in /home/iufjtdat/public_html/admin/easypopulate_functions.php on line 32

[17-Feb-2005 10:40:50] PHP Warning: move_uploaded_file(): Unable to move '/tmp/phpWCNRpd' to 'home2/iufjtdat/public_html/temp/EP2005Feb17-0808.txt' in /home/iufjtdat/public_html/admin/easypopulate_functions.php on line 32

[17-Feb-2005 10:40:50] PHP Warning: file(home2/iufjtdat/public_html/temp/EP2005Feb17-0808.txt): failed to open stream: No such file or directory in /home/iufjtdat/public_html/admin/easypopulate.php on line 670

[17-Feb-2005 10:40:50] PHP Warning: Invalid argument supplied for foreach() in /home/iufjtdat/public_html/admin/easypopulate.php on line 693

 

EASYPOPULATE.PHP

// fix by jb 20040815 set the strings to http post/request, since they don't seem to work on the new server, with register globals=off...

$dltype=$_REQUEST['dltype'];

$download=$_REQUEST['download'];

 

global $HTTP_POST_FILES;

 

foreach( $HTTP_POST_FILES as $varname => $fileinfo ){

$GLOBALS[$varname] = $fileinfo["tmp_name"];

$GLOBALS[$varname.'_name'] = $fileinfo["name"];

}

// end fix jb

 

$tempdir = "/temp/";

$tempdir2 = "/temp/";

 

(I've tried with and without slashes; without salshes it writes things like "home2/iufjtdat/public_htmltemp/EP2005Feb17-0808.txt")

 

Thanks in advance

Anibal

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...