bigfanboy Posted February 6, 2004 Share Posted February 6, 2004 I beleive I've followed the install directions to a T. When I goto Easy Populate in the Admin Block I get the error. Parse error: parse error, expecting `','' or `';'' in /home/pubmp3o/public_html/ecom/admin/easypopulate.php on line 659 Line 659 is echo FILENAME ': ' . $localfile . "<br>"; It looks good to me, my editor says it's OK. I'm not a PHP editor. Any help is apreciated. Thanks Quote Link to comment Share on other sites More sharing options...
bigfanboy Posted February 6, 2004 Author Share Posted February 6, 2004 Let me add that I am trying to use EP 2.72 with OSC 2.2MS2. And like another Support question I saw, with no real answer, I am confused as to which version of Easy Populate I should use with OSC 2.2 MS2 Thanks Big Quote Link to comment Share on other sites More sharing options...
bigfanboy Posted February 6, 2004 Author Share Posted February 6, 2004 Turns out there is an erro in the line and it's a missing . The dot is a concat so when the line say echo FILENAME ': ' it should be I believe echo FILENAME . ': ' . $localfile . "<br>"; If you agree pleas let me know. Thanks Big Quote Link to comment Share on other sites More sharing options...
magallanes Posted February 7, 2004 Share Posted February 7, 2004 That worked... Quote Link to comment Share on other sites More sharing options...
alexthecamel Posted February 9, 2004 Share Posted February 9, 2004 hi, Thanks for that i had the same prob. but now ive got Warning: main(includes/database_tables.php): failed to open stream: No such file or directory in /home/kiwiwebs/clients/a-m/firstcomputers/admin/easypopulate.php on line 153 Fatal error: main(): Failed opening required 'includes/database_tables.php' (include_path='.:/usr/local/lib/php') in /home/kiwiwebs/clients/a-m/firstcomputers/admin/easypopulate.php on line 153 Any idea would be helpful cos im very new at all this thanks in advance Alex Quote Link to comment Share on other sites More sharing options...
Ascii Posted February 22, 2004 Share Posted February 22, 2004 Parse error: parse error, expecting `','' or `';'' in /home/pubmp3o/public_html/ecom/admin/easypopulate.php on line 659 Thanx Bigfanboy ... I had the same and your suggestion for the "." worked ... shot ! ;) Quote From all the things I lost, I miss my mind the most - Ozzy Ozborne Link to comment Share on other sites More sharing options...
Alton Posted February 22, 2004 Share Posted February 22, 2004 I have the same problem. I uploaded easy populate into a fresh copy of oscommerce and am getting this message when I click on the easy populate button: Warning: main(includes/database_tables.php): failed to open stream: No such file or directory in /web/toolsetc/public_html/shop/admin/easypopulate.php on line 153 Fatal error: main(): Failed opening required 'includes/database_tables.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /web/toolsetc/public_html/shop/admin/easypopulate.php on line 153 If anyone has any ideas as to a solution. I would really appreciate it! Alton :( Quote Link to comment Share on other sites More sharing options...
CreativeArt Posted February 23, 2004 Share Posted February 23, 2004 Hi, I had the same problem on line 153. I "fixed" it by downloading a copy of oscommerce and copying the file database_tables.php into my admin/includes directory. I have no clue in programming and it's probably not the right way to deal with it, but it worked. Good luck Quote Link to comment Share on other sites More sharing options...
Alton Posted February 23, 2004 Share Posted February 23, 2004 Thanks, Konrad. I will try that and hopefully it will work! Alton Quote Link to comment Share on other sites More sharing options...
Alton Posted February 23, 2004 Share Posted February 23, 2004 Konrad, where in osc did you find 'database_tables.php'? I could not find the file. Thanks again, Alton Quote Link to comment Share on other sites More sharing options...
Ascii Posted February 24, 2004 Share Posted February 24, 2004 Hi Alton, this file is only present under OSC 2.2MS2. Good Luck Quote From all the things I lost, I miss my mind the most - Ozzy Ozborne Link to comment Share on other sites More sharing options...
CreativeArt Posted February 25, 2004 Share Posted February 25, 2004 Hi, I found database_tables in a couple of places. catalog/includes and catalog/admin/includes. I upload both into their corresponding files on the server just to be sure. The previous post was correct, it was from 2.2. Quote Link to comment Share on other sites More sharing options...
CentralMass Posted February 25, 2004 Share Posted February 25, 2004 what is the deal with this error? Parse error: parse error, expecting `','' or `';'' in /admin/easypopulate.php on line 659 I tried change the code as mentioned above but nothing happens.... Could someone with the working php page paste it here inside code tags so I can compare it to what I have? Quote Need Hosting? Just ask! Link to comment Share on other sites More sharing options...
Ascii Posted February 26, 2004 Share Posted February 26, 2004 (edited) change echo FILENAME ': ' . $localfile . "<br>"; to echo FILENAME . ': ' . $localfile . "<br>"; (Note the fullstop after "FILENAME" - This worked for me) Edited February 26, 2004 by Ascii Quote From all the things I lost, I miss my mind the most - Ozzy Ozborne Link to comment Share on other sites More sharing options...
CentralMass Posted February 26, 2004 Share Posted February 26, 2004 Thankyou...I had tried that before, but it did not work, I just tried it again and it worked......you got me.... thanks. Matt Quote Need Hosting? Just ask! 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.
Note: Your post will require moderator approval before it will be visible.