speedystuff48 Posted September 9, 2005 Posted September 9, 2005 HELP! I've read a bunch of EP manuals and extra notes various people have written...and they all say the same thing...and, of course, nothing works! According to the EP manual (pdf file) I am to copy 2 files to my catalog/admin/ folder (done). I created a 'temp' folder in my catalog directory (catalog/temp-done). I have CHMOD 777'd the temp folder (done). I have added the link to the easypopulate.php page in my catalog.php page (done). I have tried many different variations of the configuration variables on the configure.php page, none of them work. My current 'line 18' on my configure.php page is: define('DIR_FS_DOCUMENT_ROOT', '/home/dade/public_html/shop/catalog/'); // where the pages are located on the server Which of the following does "Please set DOCUMENT_ROOT to $DOCUMENT_ROOT in your /catalog/admin/includes/configure.php" mean: define('DIR_FS_DOCUMENT_ROOT', '$DOCUMENT_ROOT'); define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT); define('DIR_FS_DOCUMENT_ROOT', '$DIR_FS_DOCUMENT_ROOT'); define('DIR_FS_DOCUMENT_ROOT', $DIR_FS_DOCUMENT_ROOT); define('$DIR_FS_DOCUMENT_ROOT', '$DOCUMENT_ROOT'); define('$DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT); define('$DIR_FS_DOCUMENT_ROOT', '$DIR_FS_DOCUMENT_ROOT'); define('$DIR_FS_DOCUMENT_ROOT', $DIR_FS_DOCUMENT_ROOT); define($DIR_FS_DOCUMENT_ROOT, '$DOCUMENT_ROOT'); define($DIR_FS_DOCUMENT_ROOT, $DOCUMENT_ROOT); define($DIR_FS_DOCUMENT_ROOT, '$DIR_FS_DOCUMENT_ROOT'); define($DIR_FS_DOCUMENT_ROOT, $DIR_FS_DOCUMENT_ROOT); I also tried those above variations with the following changes to the "$tempdir" (I have not changed my directory structure from the standard osCommerce install): $tempdir = "/catalog/temp/" $tempdir = "catalog/temp/" $tempdir = "/temp/" $tempdir = "temp/" Now, the "Download Complete tab-delimited .txt file to edit" works fine. I downloaded the file (did NOTHING to it), immediately tried to upload it in the EP interface, and got the following error (of course, the begin/end error lines weren't there-I just put that in there to make this post easier to read): /******* BEGIN ERROR *********/ Warning: move_uploaded_file(/home/dade/public_html/catalog/temp/EP2005Sep09-1010.txt): failed to open stream: No such file or directory in /home/dade/public_html/shop/catalog/admin/easypopulate_functions.php on line 32 Warning: move_uploaded_file(): Unable to move '/var/tmp/phptKqWFT' to '/home/dade/public_html/catalog/temp/EP2005Sep09-1010.txt' in /home/dade/public_html/shop/catalog/admin/easypopulate_functions.php on line 32 File uploaded. Temporary filename: /var/tmp/phptKqWFT User filename: EP2005Sep09-1010.txt Size: 3340 Warning: file(/home/dade/public_html/catalog/temp/EP2005Sep09-1010.txt): failed to open stream: No such file or directory in /home/dade/public_html/shop/catalog/admin/easypopulate.php on line 667 Warning: Invalid argument supplied for foreach() in /home/dade/public_html/shop/catalog/admin/easypopulate.php on line 690 /******* END ERROR *********/ Can someone PLEASE copy/paste their working code lines and tell me what I'm doing wrong? I'm so lost and confused now that EVERY peice of support I've read so far doesn't fix any problems. Thanks, Dave Quote
Guest Posted September 10, 2005 Posted September 10, 2005 this: ease set DOCUMENT_ROOT to $DOCUMENT_ROOT means this: define('$DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT); $tempdir = "/catalog/temp/" Quote
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.
Note: Your post will require moderator approval before it will be visible.