Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Nedeľa, 3. november 2024
O nás
Magazín
Otvorený softvér
CVS
Služby
Index  »  Projekty  »  phpMyEdit  »  Fórum  »  phpMyEditSetup: Undefined index/variable

phpMyEdit Installation     phpMyEditSetup: Undefined index/variable
Odoslať novú tému   Odpovedať na tému   Choď na stránku 1, 2, 3 ... 24, 25, 26  Ďalší  
 
Corrado     Založený: 15.11.2009   Príspevky: 1  
Príspevok 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  
Príspevok 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  
Príspevok 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)
Príspevok 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  
Príspevok 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)
Príspevok 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  
Príspevok 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  
Príspevok 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  
Príspevok 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>

 
danverseak2     Založený: 07.09.2022   Príspevky: 72  
Príspevok Zaslal: 2022-09-07 10:16
Návrat hore  Odpovedať s citátom     

Considering it&#8217;s one of the world&#8217;s most livable cities, Vancouver is tough to find fault with.
Sac Mobile Truck Repair

 
robinjack     Založený: 01.03.2021   Príspevky: 8100  
Príspevok Zaslal: 2022-09-16 14:04
Návrat hore  Odpovedať s citátom     

Exceptional post however , I was wanting to know if you could write a litte more on this topic? I&#8217;d be very thankful if you could elaborate a little bit more. Thanks! gudanglagu123

 
robinjack     Založený: 01.03.2021   Príspevky: 8100  
Príspevok Zaslal: 2022-09-18 16:14
Návrat hore  Odpovedať s citátom     

This really is such a awesome write-up. I&#8217;ve been looking for this information for quite a while now and then finally stumbled upon your internet site. Thanks so much for posting this, this has helped me out tremendously. By the way I love the style of the blog, looks good, did you create it all by yourself? Amarose

 
topboosterseo     Založený: 24.07.2022   Príspevky: 4523  
Príspevok Zaslal: 2022-09-25 15:20
Návrat hore  Odpovedať s citátom     

Thank you for sharing with us, I believe this website truly stands out : D. Diaetoxil

 
topboosterseo     Založený: 24.07.2022   Príspevky: 4523  
Príspevok Zaslal: 2022-09-28 19:36
Návrat hore  Odpovedať s citátom     

I&#8217;ve been meditating on the identical issue personally recently. Pleased to see another person on the same wavelength! Nice article. Heater Pro X

 
robinjack     Založený: 01.03.2021   Príspevky: 8100  
Príspevok Zaslal: 2022-09-29 10:56
Návrat hore  Odpovedať s citátom     

for those of us who cannot control anger, i think that anger management should be a reuirement to have a quality life,. website link

 
Odoslať novú tému   Odpovedať na tému   Choď na stránku 1, 2, 3 ... 24, 25, 26  Ďalší  

Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok · Odkazový formulár · Prihláška
Upozorniť na chybu na PLATON.SK webstránke · Podmienky použitia · Ochrana osobných údajov