Guest Posted February 3, 2004 Share Posted February 3, 2004 Hi there, Can someone help me please? I just installed Easy Populate and I get this error when I try and go into it via admin panel: Parse error: parse error, expecting `','' or `';'' in /home/u5/saadahmed/html/catalog/admin/easypopulate.php on line 659 I installed EP about three times but this error is always there. Has anyone ever had this problem? I have about 1,000 products to upload. =)) Thanks!! Saad Quote Link to comment Share on other sites More sharing options...
ItalianMob71 Posted February 5, 2004 Share Posted February 5, 2004 yes i'm having the save prob Quote Link to comment Share on other sites More sharing options...
Guest Posted February 5, 2004 Share Posted February 5, 2004 did you modify easypopulate.php? post the lines just before and after (approx 5 of each) Quote Link to comment Share on other sites More sharing options...
Guest Posted February 5, 2004 Share Posted February 5, 2004 Hi Mibble, Yea, I added the lines, but I'm still getting the same problem. Here is what the instruction says: --------------------------------------------------------------- 3. For adding link to the Admin, edit file admin/includes/boxes/catalog.php by adding this line: '<a href="' . tep_href_link('easypopulate.php', '', 'NONSSL') . '" class="menuBoxContentLink">Easy Populate</a><br>'. After: '<a href="' . tep_href_link(FILENAME_PRODUCTS_ATTRIBUTES, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CATALOG_CATEGORIES_PRODUCTS_ATTRIBUTES . '</a><br>' . --------------------------------------------------------------- I did exactly that and it doesn't work. You can see the error yourself if you click here: http://www.easylinuxcds.com/catalog/admin/easypopulate.php Any suggestions? And yes, I'm using the lastest version of OSC. =)) Saad Quote Link to comment Share on other sites More sharing options...
ItalianMob71 Posted February 7, 2004 Share Posted February 7, 2004 I too have done exactly as the documentation describes and I too have the latest osC version. I'm running this on a Cobalt RaQ 4r running Sun Cobalt linux Quote Link to comment Share on other sites More sharing options...
Guest Posted February 7, 2004 Share Posted February 7, 2004 Anyone help please? suggestions? Quote Link to comment Share on other sites More sharing options...
♥ecartz Posted February 7, 2004 Share Posted February 7, 2004 We are still waiting for you to post lines 654-664 of easypopulate.php as John requested. There isn't much that we will be able to do without this. Cheers, Matt Quote Always back up before making changes. Link to comment Share on other sites More sharing options...
Guest Posted February 15, 2004 Share Posted February 15, 2004 I had the same problem, I believe it to be an error in the original downloaded code, because I dont remember messing with this file. At any rate, here is the fix. Open easypopulate.php and go to line 659, it reads echo FILENAME ': ' . $localfile . "<br>"; but it should read echo FILENAME . ': ' . $localfile . "<br>"; Just add a space then . after "echo FILENAME" and it seems to clear that problem up. I am now having another problem for which I am searching for an answer to, when I try to upload a file I get these errors. Warning: move_uploaded_file(/home/lincgear/public_html/catalog/temp/EP2004Feb14-2008.txt): failed to open stream: No such file or directory in /home/lincgear/public_html/oscom/admin/easypopulate_functions.php on line 32 Warning: move_uploaded_file(): Unable to move '/tmp/phpL4TMyZ' to '/home/lincgear/public_html/catalog/temp/EP2004Feb14-2008.txt' in /home/lincgear/public_html/oscom/admin/easypopulate_functions.php on line 32 File uploaded. Termporary filename: /tmp/phpL4TMyZ User filename: EP2004Feb14-2008.txt Size: 80015 Warning: file(/home/lincgear/public_html/catalog/temp/EP2004Feb14-2008.txt): failed to open stream: No such file or directory in /home/lincgear/public_html/oscom/admin/easypopulate.php on line 644 Warning: Invalid argument supplied for foreach() in /home/lincgear/public_html/oscom/admin/easypopulate.php on line 667 If anyone knows of a cure I would appreciate it very much. Thanks. Quote Link to comment Share on other sites More sharing options...
Guest Posted February 16, 2004 Share Posted February 16, 2004 I found the problem I daiscribed above, all fixed now. Quote Link to comment Share on other sites More sharing options...
Guest Posted February 17, 2004 Share Posted February 17, 2004 how did you fix the error? Im getting the same error :( Quote Link to comment Share on other sites More sharing options...
Guest Posted February 18, 2004 Share Posted February 18, 2004 (edited) Hmmmm, I am trying to remember, I will look back over it and post back asap. Edited February 18, 2004 by houstond Quote Link to comment Share on other sites More sharing options...
Guest Posted February 18, 2004 Share Posted February 18, 2004 I have debuged so many bugs that I am not sure about that one, but I think my temp directory was either in the wrong place or did not have the permissions set correctly. Sorry, I should have posted the fix right when I found it. Quote Link to comment Share on other sites More sharing options...
Guest Posted February 18, 2004 Share Posted February 18, 2004 most likely you either have not created the temp folder or the permissions for the temp folder are not set to 777 Quote Link to comment Share on other sites More sharing options...
very new Posted July 26, 2005 Share Posted July 26, 2005 I installed Easy Populate 2.76-MS2 - Default Language : English(1) and get below error when running it. Warning: main(easypopulate_functions.php) [function.main]: failed to open stream: No such file or directory in C:\xampp\xampp\htdocs\catalog\admin\easypopulate.php on line 169 Warning: main() [function.include]: Failed opening 'easypopulate_functions.php' for inclusion (include_path='.;c:\xampp\xampp\php\pear\') in C:\xampp\xampp\htdocs\catalog\admin\easypopulate.php on line 169 when i try to upload a sample db , i get below Fatal error: Call to undefined function tep_get_uploaded_file() in C:\xampp\xampp\htdocs\catalog\admin\easypopulate.php on line 654 pls help Quote Link to comment Share on other sites More sharing options...
alfredr Posted August 6, 2005 Share Posted August 6, 2005 Im getting the same error as Houstod above. Quoting it here . . . Warning: move_uploaded_file(/home/bridal9/public_html/tempdev/catalog/temp/EP2005Aug05-1705.txt): failed to open stream: No such file or directory in /home/bridal9/public_html/tempdev/admin/easypopulate_functions.php on line 32 Warning: move_uploaded_file(): Unable to move '/tmp/php7wRyKl' to '/home/bridal9/public_html/tempdev/catalog/temp/EP2005Aug05-1705.txt' in /home/bridal9/public_html/tempdev/admin/easypopulate_functions.php on line 32 File uploaded. Temporary filename: /tmp/php7wRyKl User filename: EP2005Aug05-1705.txt Size: 572143 Warning: file(/home/bridal9/public_html/tempdev/catalog/temp/EP2005Aug05-1705.txt): failed to open stream: No such file or directory in /home/bridal9/public_html/tempdev/admin/easypopulate.php on line 665 Warning: Invalid argument supplied for foreach() in /home/bridal9/public_html/tempdev/admin/easypopulate.php on line 688 On another forum they suggested an error in the configure.php files which I fixed, but still getting the error. Any help is greatly appreciated Quote Link to comment Share on other sites More sharing options...
Guest Posted August 6, 2005 Share Posted August 6, 2005 as this is the path: /home/bridal9/public_html/tempdev/catalog/temp your temp file listing needs to be: /tempdev/catalog/temp/ and needs 777 permissions Quote Link to comment Share on other sites More sharing options...
alark Posted August 11, 2005 Share Posted August 11, 2005 I have easy populate installed on the site by the original creator. It wasn't working, so I removed the easy populate files and then uploaded the new verison. I changed no files for easy populate and checked the link from admin and it is correct per the instructions. I still am unable to download a file so that I will know how to arrange a new file for update. I need to know what order the columns need to be in. Any other help would also be nice. I also tried the csv import for OSC module, which is a very simple isntall, but I get the following error when I try to use it: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) If anyone can tell me where to get help for this module, or how to fix this error I would be very appreciative. Sincerely, Stephen Smith 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.