Corrado
Založený: 15.11.2009
Príspevky: 1
Zaslal: 2009-11-15 23:20
Návrat hore
Odpovedať s citátom
|
Win XP PRO
EasyPHP 5.3.0
phpMyEdit 5.7.1
Hi,
when I call:
http://127.0.0.1/phpMyEdit/phpMyEditSetup.php
I obtain the following errors:
Notice: Undefined index: db in C:\Programmi\EasyPHP5.3.0\phpMyEdit\phpMyEditSetup.php on line 65
Notice: Undefined index: tb in C:\Programmi\EasyPHP5.3.0\phpMyEdit\phpMyEditSetup.php on line 66
Notice: Undefined variable: db in C:\Programmi\EasyPHP5.3.0\phpMyEdit\phpMyEditSetup.php on line 189
Notice: Undefined variable: tb in C:\Programmi\EasyPHP5.3.0\phpMyEdit\phpMyEditSetup.php on line 192
If I insert Hostname, Username, Password, Database, Table my Apache crashs.
How can I solve these errors.
Many thanks.
|
JonBFL
Založený: 14.12.2009
Príspevky: 1
Zaslal: 2009-12-14 22:18
Návrat hore
Odpovedať s citátom
|
Basically "me tooo" on those errors.
Notice: Undefined index: db in C:\wamp\www\phpMyEdit-5.7.1\phpMyEditSetup.php on line 65
Notice: Undefined index: tb in C:\wamp\www\phpMyEdit-5.7.1\phpMyEditSetup.php on line 66
Please log in to your MySQL database
Notice: Undefined variable: db in C:\wamp\www\phpMyEdit-5.7.1\phpMyEditSetup.php on line 189
Notice: Undefined variable: tb in C:\wamp\www\phpMyEdit-5.7.1\phpMyEditSetup.php on line 192
When I do login as root - and submit
I get to the database screen - no problems -
<submit>
I get the Table Selection screen -
Notice: Undefined index: tb in C:\wamp\www\phpMyEdit-5.7.1\phpMyEditSetup.php on line 66
although my table DOES appear.
Every Time my WAMP server crashes.
Apache 2.2.11
PHP 5.3.0
MySQL 5.1.36
Win XP Pro SP3
Using Localhost = MySQL user 'root' no PW. Just testing at this point...
Seems like a cool script - I just need to get the bugger to fly right.
|
ji394su30935
Založený: 22.07.2010
Príspevky: 1
Zaslal: 2010-07-22 23:57
Návrat hore
Odpovedať s citátom
|
Why isn't anyone replying this topic. I also have to same problem. PLEASE, anyone out there answer this question.
|
doug
Založený: 10.02.2003
Príspevky: 1013
Bydlisko: Denver, Colorado (USA)
Zaslal: 2010-07-24 19:12
Návrat hore
Odpovedať s citátom
|
My personal experience with Apache 2.2.11 on Windows is that it doesn't play well with PHP's .DLL files. In fact, I'd recommend people NOT put the latest versions of Apache (use 2.0.x non 2.2) or PHP on Windows. Few people on the planet do this, and when obscure bugs exist, it takes months for them to get reported and fixed. Doubly true if using 64-bit Windows 7.
To avoid the "Notice: Undefined index:" warnings, try setting the errorlevel in the script as
error_reporting(E_ALL & ~E_NOTICE);
|
ibiangalex
Založený: 13.10.2010
Príspevky: 1
Zaslal: 2010-10-13 09:25
Návrat hore
Odpovedať s citátom
|
I am using a Wampserver version 2.0 and when I called the phpedit setup the same undefined index error surfaced. Suppressing the error levels does not necessarily mean that the Apache server would stop crashing.
Can somebody please suggest a solution to solve this problem.
Many thanks
|
doug
Založený: 10.02.2003
Príspevky: 1013
Bydlisko: Denver, Colorado (USA)
Zaslal: 2010-10-13 13:27
Návrat hore
Odpovedať s citátom
|
Edit the setup script an set the values of $tb and $db.
|
glenleslie
Založený: 10.11.2009
Príspevky: 5
Zaslal: 2011-08-28 06:11
Návrat hore
Odpovedať s citátom
|
| doug Napísal: |
| Edit the setup script an set the values of $tb and $db. |
i happened to stumble on Uniform Server (a Windows WAMPServer alternative) and it works fine with phpEdit -
http://www.uniformserver.com/
.
WampServer 2.0 and 2.1e - both 32 bit and 64 bit are not happy with the phpMyEditSetup.php script on my system (Win7 Pro, 64 bit). I guess it could be DLL woes but seems more likely it's a php, mysql or apache module not included or config'd just so?
phpMyEdit is now 2 - 4 years old (depending on which site you link through you get phpMyEdit 5.6 or 5.7.1... it took me a couple of days before I found out I had 5.6 and that 5.7.1 is out) so maybe a deprecated call somewhere?
Sorry... I'm not a coder, cannot drill down on the issues... it's one of the reasons I'm looking at phpMyEdit in the first place!
Best,
GL
|
sillythings
Založený: 21.04.2012
Príspevky: 1
Zaslal: 2012-04-21 19:45
Návrat hore
Odpovedať s citátom
|
Finally got it to work on windows 7, apache2.2 and latest php.
The problem is php extension for mysql was not turn on. Edit the php.ini file in your php installation folder and enable php_mysql.dll extension.
|
lonabec
Založený: 16.10.2012
Príspevky: 1
Zaslal: 2012-10-16 16:25
Návrat hore
Odpovedať s citátom
|
Actual issue is result of calling a function with empty parameters and having an error returned from PHP. Fix is to modify the existing code to suppress errors by prefixing function call with an
@
.
Lines 65 & 66 become:
if(strlen(@$_POST['db'])>0) $db = @$_POST['db'];
if(strlen(@$_POST['tb'])>0) $tb = @$_POST['tb'];
Lines 189 & 192 become:
<td><input type="text" name="db" value="'.@htmlspecialchars($db).'"></td>
td><input type="text" name="tb" value="'.@htmlspecialchars($tb).'"></td>
|
jeny
Založený: 10.11.2026
Príspevky: 1
Zaslal: 2026-11-10 06:04
Návrat hore
Odpovedať s citátom
|
Great post! I found this article informative and easy to follow. It's always nice to come across content that explains things clearly without making them complicated. Thanks for sharing! https://dramaboxmodapk.app/dramabox-on-firestick/
|
|
Odoslať novú tému
Odpovedať na tému
|