Typo in sql.php line 118
Posted by: davidovici (142.232.143.---)
Date: May 09, 2008 08:47PM

When trying to import a big table (20,000 rows) phpMyAdmin gave a Fatal error on line 118 of

C:\wamp\apps\phpmyadmin2.11.5\libraries\import\sql.php


Looked in the file and discovered a typo:

$p8 = stripos($buffer, 'DELIMITER', $i);

Removed i from stripos and the import was successful.

Options: ReplyQuote
Re: Typo in sql.php line 118
Posted by: stevenmartin99 (---.b-ras1.blp.dublin.eircom.net)
Date: May 09, 2008 08:52PM

lol i wonder why it fails only on big tables lol

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: Typo in sql.php line 118
Posted by: toivo (---.nsw.bigpond.net.au)
Date: May 09, 2008 10:48PM

What was the actual message? Did you check your PHP error log?

The command stripos is a perfectly valid command: [au.php.net]

Regards,

toivo
Sydney, Australia

Options: ReplyQuote


Sorry, only registered users may post in this forum.