waalker Posted May 30, 2006 Share Posted May 30, 2006 I'm having problem changing my $document_root in admin/includes/configure.php. I downloaded and installed easy populate. but i can't seem to change the php correctly. The instructions state to change $DOCUMENT_ROOT. But it doesn't say what line in the code or what to take out! Someone please help. Quote Link to comment Share on other sites More sharing options...
Acuos Posted May 30, 2006 Share Posted May 30, 2006 Here is what I did to fix this problem. I think it's the same one. Replace the line they said with this one. define('DIR_FS_DOCUMENT_ROOT', 'YOUR ROOT DIRECTORY TO THE WEBSITE HERE'); // where the pages are located on the server define('DIR_FS_DOCUMENT_ROOT', '/home/SERVERNAME/public_html/FOLDER/'); // where the pages are located on the server hope this helps Quote Link to comment Share on other sites More sharing options...
waalker Posted May 30, 2006 Author Share Posted May 30, 2006 I think that I replaced the $DOCUEMENT_ROOT line correctly but now I a have the following error: Filename: products.csv Warning: file(): Unable to access $DOCUMENT_ROOT/CatalogFolder/temp/products.csv in /usr/local/psa/home/vhosts/resourcequeenonline.com/httpdocs/CatalogFolder/admin/easypopulate.php on line 685 Warning: file($DOCUMENT_ROOT/CatalogFolder/temp/products.csv): failed to open stream: No such file or directory in /usr/local/psa/home/vhosts/resourcequeenonline.com/httpdocs/CatalogFolder/admin/easypopulate.php on line 685 Warning: Invalid argument supplied for foreach() in /usr/local/psa/home/vhosts/resourcequeenonline.com/httpdocs/CatalogFolder/admin/easypopulate.php on line 690 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.