Hi,
I was trying to transfer the check for "is_procedure" in sql.php to sql
parser. There I realized that "CALL" is recognized as alpha_identifier
rather than alpha_reservedWord. But CALL is a mysql reserved word. I would
like to have a clarification regarding this issue.
Regards Supun.
Just installed phpmyadmin and pointed my apache vhost at
/usr/share/webapps/phpMyAdmin/
... but when I go to that vhost I get "Internal Error in Server".
In the Apache log file I have:
[Fri Jul 12 09:32:26 2013] [error] [client 127.0.0.1] PHP Fatal error:
Call to undefined function PMA_DBI_num_rows() in
/usr/share/webapps/phpMyAdmin/libraries/navigation/Nodes/Node.class.php
on line 408
PHP is tested and working.
See <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/3840/changes>
Changes:
[Michal Čihař] Another adding of comma to sentences
------------------------------------------
Started by GitHub push by nijel
Building in workspace <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/>
Checkout:workspace / <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/> - hudson.remoting.LocalChannel@439daaab
Using strategy: Default
Last Built Revision: Revision 5eadfc2fa4458f9bad902755237fdce54a155924 (origin/master)
Fetching changes from 1 remote Git repository
Fetching upstream changes from origin
Commencing build of Revision df3502e804ce88697f9200eff9033fc79c903b6d (origin/master)
Checking out Revision df3502e804ce88697f9200eff9033fc79c903b6d (origin/master)
[workspace] $ /bin/sh -xe /tmp/hudson1790240494627671480.sh
+ ./scripts/generate-mo --quiet
po/af.po:391: duplicate message definition...
po/af.po:281: ...this is the location of the first definition
msgfmt: found 1 fatal error
po/ar.po:394: duplicate message definition...
po/ar.po:282: ...this is the location of the first definition
msgfmt: found 1 fatal error
po/az.po:394: duplicate message definition...
po/az.po:279: ...this is the location of the first definition
msgfmt: found 1 fatal error
po/be.po:400: duplicate message definition...
po/be.po:283: ...this is the location of the first definition
msgfmt: found 1 fatal error
po/be@latin.po:401: duplicate message definition...
po/be@latin.po:283: ...this is the location of the first definition
msgfmt: found 1 fatal error
po/bg.po:390: duplicate message definition...
po/bg.po:282: ...this is the location of the first definition
msgfmt: found 1 fatal error
po/bn.po:387: duplicate message definition...
po/bn.po:279: ...this is the location of the first definition
msgfmt: found 1 fatal error
po/br.po:396: duplicate message definition...
po/br.po:286: ...this is the location of the first definition
msgfmt: found 1 fatal error
po/bs.po:389: duplicate message definition...
po/bs.po:281: ...this is the location of the first definition
msgfmt: found 1 fatal error
po/ca.po:390: duplicate message definition...
po/ca.po:282: ...this is the location of the first definition
msgfmt: found 1 fatal error
po/ckb.po:393: duplicate message definition...
po/ckb.po:286: ...this is the location of the first definition
msgfmt: found 1 fatal error
po/cs.po:382: duplicate message definition...
po/cs.po:279: ...this is the location of the first definition
msgfmt: found 1 fatal error
po/cy.po:395: duplicate message definition...
po/cy.po:284: ...this is the location of the first definition
msgfmt: found 1 fatal error
po/da.po:378: duplicate message definition...
po/da.po:277: ...this is the location of the first definition
msgfmt: found 1 fatal error
po/de.po:386: duplicate message definition...
po/de.po:278: ...this is the location of the first definition
msgfmt: found 1 fatal error
po/el.po:379: duplicate message definition...
po/el.po:277: ...this is the location of the first definition
msgfmt: found 1 fatal error
po/en_GB.po:382: duplicate message definition...
po/en_GB.po:280: ...this is the location of the first definition
msgfmt: found 1 fatal error
po/es.po:382: duplicate message definition...
po/es.po:278: ...this is the location of the first definition
msgfmt: found 1 fatal error
po/et.po:381: duplicate message definition...
po/et.po:279: ...this is the location of the first definition
msgfmt: found 1 fatal error
po/eu.po:392: duplicate message definition...
po/eu.po:282: ...this is the location of the first definition
msgfmt: found 1 fatal error
po/fa.po:390: duplicate message definition...
po/fa.po:282: ...this is the location of the first definition
msgfmt: found 1 fatal error
po/fi.po:390: duplicate message definition...
po/fi.po:282: ...this is the location of the first definition
msgfmt: found 1 fatal error
po/fr.po:381: duplicate message definition...
po/fr.po:279: ...this is the location of the first definition
msgfmt: found 1 fatal error
po/gl.po:390: duplicate message definition...
po/gl.po:282: ...this is the location of the first definition
msgfmt: found 1 fatal error
po/he.po:376: duplicate message definition...
po/he.po:276: ...this is the location of the first definition
msgfmt: found 1 fatal error
po/hi.po:389: duplicate message definition...
po/hi.po:280: ...this is the location of the first definition
msgfmt: found 1 fatal error
po/hr.po:393: duplicate message definition...
po/hr.po:283: ...this is the location of the first definition
msgfmt: found 1 fatal error
po/hu.po:380: duplicate message definition...
po/hu.po:278: ...this is the location of the first definition
msgfmt: found 1 fatal error
po/hy.po:390: duplicate message definition...
po/hy.po:283: ...this is the location of the first definition
msgfmt: found 1 fatal error
po/ia.po:384: duplicate message definition...
po/ia.po:282: ...this is the location of the first definition
msgfmt: found 1 fatal error
po/id.po:380: duplicate message definition...
po/id.po:279: ...this is the location of the first definition
msgfmt: found 1 fatal error
po/it.po:391: duplicate message definition...
po/it.po:283: ...this is the location of the first definition
msgfmt: found 1 fatal error
po/ja.po:385: duplicate message definition...
po/ja.po:278: ...this is the location of the first definition
msgfmt: found 1 fatal error
po/ka.po:388: duplicate message definition...
po/ka.po:279: ...this is the location of the first definition
msgfmt: found 1 fatal error
po/kk.po:394: duplicate message definition...
po/kk.po:286: ...this is the location of the first definition
msgfmt: found 1 fatal error
po/kn.po:377: duplicate message definition...
po/kn.po:277: ...this is the location of the first definition
msgfmt: found 1 fatal error
po/ko.po:378: duplicate message definition...
po/ko.po:277: ...this is the location of the first definition
msgfmt: found 1 fatal error
po/lt.po:389: duplicate message definition...
po/lt.po:282: ...this is the location of the first definition
msgfmt: found 1 fatal error
po/lv.po:396: duplicate message definition...
po/lv.po:282: ...this is the location of the first definition
msgfmt: found 1 fatal error
po/mk.po:399: duplicate message definition...
po/mk.po:282: ...this is the location of the first definition
msgfmt: found 1 fatal error
po/ml.po:386: duplicate message definition...
po/ml.po:278: ...this is the location of the first definition
msgfmt: found 1 fatal error
po/mn.po:399: duplicate message definition...
po/mn.po:282: ...this is the location of the first definition
msgfmt: found 1 fatal error
po/ms.po:389: duplicate message definition...
po/ms.po:282: ...this is the location of the first definition
msgfmt: found 1 fatal error
po/nb.po:388: duplicate message definition...
po/nb.po:281: ...this is the location of the first definition
msgfmt: found 1 fatal error
po/nl.po:378: duplicate message definition...
po/nl.po:276: ...this is the location of the first definition
msgfmt: found 1 fatal error
po/pa.po:379: duplicate message definition...
po/pa.po:279: ...this is the location of the first definition
msgfmt: found 1 fatal error
po/pl.po:392: duplicate message definition...
po/pl.po:283: ...this is the location of the first definition
msgfmt: found 1 fatal error
po/pt.po:382: duplicate message definition...
po/pt.po:280: ...this is the location of the first definition
msgfmt: found 1 fatal error
po/pt_BR.po:380: duplicate message definition...
po/pt_BR.po:278: ...this is the location of the first definition
msgfmt: found 1 fatal error
po/ro.po:392: duplicate message definition...
po/ro.po:283: ...this is the location of the first definition
msgfmt: found 1 fatal error
po/ru.po:383: duplicate message definition...
po/ru.po:279: ...this is the location of the first definition
msgfmt: found 1 fatal error
po/si.po:377: duplicate message definition...
po/si.po:275: ...this is the location of the first definition
msgfmt: found 1 fatal error
po/sk.po:391: duplicate message definition...
po/sk.po:282: ...this is the location of the first definition
msgfmt: found 1 fatal error
po/sl.po:382: duplicate message definition...
po/sl.po:278: ...this is the location of the first definition
msgfmt: found 1 fatal error
po/sq.po:380: duplicate message definition...
po/sq.po:278: ...this is the location of the first definition
msgfmt: found 1 fatal error
po/sr.po:399: duplicate message definition...
po/sr.po:281: ...this is the location of the first definition
msgfmt: found 1 fatal error
po/sr@latin.po:392: duplicate message definition...
po/sr@latin.po:283: ...this is the location of the first definition
msgfmt: found 1 fatal error
po/sv.po:379: duplicate message definition...
po/sv.po:278: ...this is the location of the first definition
msgfmt: found 1 fatal error
po/ta.po:392: duplicate message definition...
po/ta.po:282: ...this is the location of the first definition
msgfmt: found 1 fatal error
po/te.po:393: duplicate message definition...
po/te.po:282: ...this is the location of the first definition
msgfmt: found 1 fatal error
po/th.po:383: duplicate message definition...
po/th.po:278: ...this is the location of the first definition
msgfmt: found 1 fatal error
po/tk.po:386: duplicate message definition...
po/tk.po:284: ...this is the location of the first definition
msgfmt: found 1 fatal error
po/tr.po:379: duplicate message definition...
po/tr.po:278: ...this is the location of the first definition
msgfmt: found 1 fatal error
po/tt.po:397: duplicate message definition...
po/tt.po:281: ...this is the location of the first definition
msgfmt: found 1 fatal error
po/ug.po:395: duplicate message definition...
po/ug.po:284: ...this is the location of the first definition
msgfmt: found 1 fatal error
po/uk.po:392: duplicate message definition...
po/uk.po:283: ...this is the location of the first definition
msgfmt: found 1 fatal error
po/ur.po:396: duplicate message definition...
po/ur.po:284: ...this is the location of the first definition
msgfmt: found 1 fatal error
po/uz.po:389: duplicate message definition...
po/uz.po:280: ...this is the location of the first definition
msgfmt: found 1 fatal error
po/uz@latin.po:399: duplicate message definition...
po/uz@latin.po:282: ...this is the location of the first definition
msgfmt: found 1 fatal error
po/zh_CN.po:374: duplicate message definition...
po/zh_CN.po:275: ...this is the location of the first definition
msgfmt: found 1 fatal error
po/zh_TW.po:374: duplicate message definition...
po/zh_TW.po:275: ...this is the location of the first definition
msgfmt: found 1 fatal error
Build step 'Execute shell' marked build as failure
[CHECKSTYLE] Skipping publisher since build result is FAILURE
[DRY] Collecting duplicate code analysis files...
[DRY] Finding all files that match the pattern build/logs/pmd-cpd.xml
[DRY] Parsing 1 files in <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/>
[DRY] Successfully parsed file <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/build/logs/pmd-cpd.xml> of module with 53 warnings.
[DRY] Computing warning deltas based on reference build #3839
[TASKS] Skipping publisher since build result is FAILURE
[ANALYSIS-COLLECTOR] Computing warning deltas based on reference build #3839
Recording plot data
[xUnit] [INFO] - Starting to record.
[xUnit] [INFO] - Processing PHPUnit-3.x (default)
[xUnit] [INFO] - [PHPUnit-3.x (default)] - 1 test report file(s) were found with the pattern 'build/logs/junit.xml' relative to '<http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/'> for the testing framework 'PHPUnit-3.x (default)'.
[xUnit] [ERROR] - Test reports were found but not all of them are new. Did all the tests run?
* <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/build/logs/junit.xml> is 22 min old
[xUnit] [INFO] - Fail BUILD because 'set build failed if errors' option is activated.
[xUnit] [INFO] - There are errors when processing test results.
[xUnit] [INFO] - Skipping tests recording.
[xUnit] [INFO] - Stop build.
2013/7/10 Isaac Bennetch <bennetch(a)gmail.com>:
> On 7/10/13 11:31 AM, Dieter Adriaenssens wrote:
>>
>> 2013/7/10 Isaac Bennetch <bennetch(a)gmail.com>:
>>>
>>>
>>>
>>> On 7/9/13 12:43 PM, Marc Delisle wrote:
>>>>
>>>> Le 2013-07-09 12:10, Isaac Bennetch a écrit :
>>>>>
>>>>> On 7/3/13 1:04 PM, Isaac Bennetch wrote:
>>>>>>
>>>>>> Hi, since commit 37d142bc, where Michal removed compatibility code for
>>>>>> PHP 5.2, I seem to have problems with phpMyAdmin.
>>>>>>
>>>>>> The page displays approximately correctly, but there are no databases
>>>>>> listed and, aside from the navigation menu at the top of the screen
>>>>>> and error messages, the main page has no content.
>>>>>>
>>>>>> The demo server seems to be under extremely heavy load, so I'm unable
>>>>>> to test whether it's just me. I'm using PHP 5.3.3-7+squeeze15.
>>>>>>
>>>>>> Any thoughts?
>>>>>
>>>>>
>>>>> With a bit more research, I'm finding that I don't always get error
>>>>> messages, but I never get a display of databases or any useful
>>>>> interface. Is this something anyone thinks we should investigate
>>>>> further
>>>>> or should I just upgrade my system to the more modern Wheezy and forget
>>>>> about it? My Squeeze install is rather outdated, despite having PHP
>>>>> 5.3.3 and Apache 2.2.16; I certainly don't need to make a big deal
>>>>> about
>>>>> this.
>>>>>
>>>>
>>>> Hi Isaac,
>>>> can you double-check that when you go back to the commit just before
>>>> 37d142bc, then open a fresh navigator, all is fine?
>>>
>>>
>>> Yes, I just did confirm and see the following:
>>> 0f3754a works okay
>>> 0f3754a is broken for me
>>>
>>> The degree of brokenness seems to vary depending on a few factors (what
>>> URL I load, what I've configured as my auth_type, etc) -- the three
>>> options I've seen are:
>>>
>>> 1) completely blank browser,
>>> 2) Menu structure (navigation area links for documentation, logout, etc
>>> and main page tab structure) but no databases available and no
>>> error/warning messages, or
>>> 3) Same as (2) but with errors/warning messages.
>>>
>>> I've seen the problem on two similar Debian Squeeze systems that are
>>> different machines but running the same general configuration.
>>>
>>> Additionally, I can confirm that when I update a system to Wheezy, which
>>> has PHP 5.4.4, MySQL 5.3.31, and Apache 2.2.2. As a reminder, the broken
>>> installs had PHP 5.3.3, MySQL 5.1.66, and Apache 2.2.16.
>>>
>>> My system works, I have no problem updating to Wheezy, but I can keep
>>> the system running if we want to do more troubleshooting. It's up to the
>>> group to decide if this is worth looking in to.
>>>
>>> Thanks again
>>
>>
>> I have squeeze running as well on my production server at work, but it
>> has phpMyAdmin 4.0.4.1 installed, which shows no problems.
>> I just cloned master to test, and I have the same issue as Isaac. BTW
>> : I don't even have to login to get the main screen (but it doesn't
>> show anything, except the preloaded structures and tabs, so there is
>> no connection to the database)
>>
>> When clicking on something, I get a AJAX/JS popup with message : Error
>> in Processing Request, Error code: 500, Error text : Internal server
>> error.
>>
>> The error log says :
>>
>> PHP Fatal error: Can't inherit abstract function
>> SplObserver::update() (previously declared abstract in PluginObserver)
>> in /usr/local/phpmyadmin/libraries/plugins/PluginObserver.class.php on
>> line 23
>>
>> The server is running on : PHP 5.3.3-7+squeeze15, Apache
>> 2.2.16-6+squeeze11, MySQL 5.1.66-0+squeeze1
>> --
>> Kind regards,
>>
>> Dieter Adriaenssens
>
>
> Thanks. Somehow you seem to have gotten more useful debugging information in
> about 15 minutes than I have in two days.
I just checked the log messages of the server. ;) Enabling your
webserver to display errors, would show this message in your browser.
But this is only recommended for development environments.
BTW : I experienced the same problem on my netbook at home (Ubuntu
Oneiric, with PHP 5.3.6-13ubuntu3.10), so the problem seems to be in
PHP 5.3.
After some digging, this problem is identical to bug #3625 [0], which
was fixed with commit 13d7f61 [1], but apparently the problem with the
abstract functions is not fixed in 5.3, but only in 5.4. Michal
removed the code that was introduced in this commit [1], so that's why
it causes problems with systems running PHP 5.3.
BTW : I haven't found a confirmation that this 'abstract function'
problem is solved in PHP 5.4, but I think it is safe to assume this,
because the problem so far doesn't arise only on systems PHP < 5.4.
I've put the removed code back in commit 6b7d1d813a [2]. It works for
me. Please test.
Thanks to Isaac, for reporting.
[0] http://sourceforge.net/p/phpmyadmin/bugs/3625/
[1] https://github.com/phpmyadmin/phpmyadmin/commit/13d7f61ef1eaaeb3cba391b2972…
[2] https://github.com/phpmyadmin/phpmyadmin/commit/13d7f61ef1eaaeb3cba391b2972…
--
Kind regards,
Dieter Adriaenssens
Hi, since commit 37d142bc, where Michal removed compatibility code for
PHP 5.2, I seem to have problems with phpMyAdmin.
The page displays approximately correctly, but there are no databases
listed and, aside from the navigation menu at the top of the screen
and error messages, the main page has no content.
The demo server seems to be under extremely heavy load, so I'm unable
to test whether it's just me. I'm using PHP 5.3.3-7+squeeze15.
Any thoughts?
The warning/notice messages currently are:
Notice in ./libraries/navigation/NavigationHeader.class.php#187
Undefined index: PHP_AUTH_USER
Backtrace
./libraries/navigation/NavigationHeader.class.php#49:
PMA_NavigationHeader->_links()
./libraries/navigation/Navigation.class.php#47:
PMA_NavigationHeader->getDisplay()
./libraries/Header.class.php#368: PMA_Navigation->getDisplay()
./libraries/Response.class.php#264: PMA_Header->getDisplay()
./libraries/Response.class.php#277: PMA_Response->_getDisplay()
./libraries/Response.class.php#374: PMA_Response->_htmlResponse()
./libraries/OutputBuffering.class.php#116: PMA_Response::response()
PMA_OutputBuffering::stop()
Notice in ./libraries/Menu.class.php#487
Use of undefined constant PMA_DRIZZLE - assumed 'PMA_DRIZZLE'
Backtrace
./libraries/Menu.class.php#108: PMA_Menu->_getServerTabs()
./libraries/Menu.class.php#75: PMA_Menu->_getMenu()
./libraries/Header.class.php#389: PMA_Menu->getDisplay()
./libraries/Response.class.php#264: PMA_Header->getDisplay()
./libraries/Response.class.php#277: PMA_Response->_getDisplay()
./libraries/Response.class.php#374: PMA_Response->_htmlResponse()
./libraries/OutputBuffering.class.php#116: PMA_Response::response()
PMA_OutputBuffering::stop()
Notice in ./libraries/Menu.class.php#515
Use of undefined constant PMA_DRIZZLE - assumed 'PMA_DRIZZLE'
Backtrace
./libraries/Menu.class.php#108: PMA_Menu->_getServerTabs()
./libraries/Menu.class.php#75: PMA_Menu->_getMenu()
./libraries/Header.class.php#389: PMA_Menu->getDisplay()
./libraries/Response.class.php#264: PMA_Header->getDisplay()
./libraries/Response.class.php#277: PMA_Response->_getDisplay()
./libraries/Response.class.php#374: PMA_Response->_htmlResponse()
./libraries/OutputBuffering.class.php#116: PMA_Response::response()
PMA_OutputBuffering::stop()
Notice in ./libraries/Menu.class.php#487
Use of undefined constant PMA_DRIZZLE - assumed 'PMA_DRIZZLE'
Backtrace
./libraries/Menu.class.php#108: PMA_Menu->_getServerTabs()
./libraries/Menu.class.php#87: PMA_Menu->_getMenu()
./libraries/Footer.class.php#252: PMA_Menu->getHash()
./libraries/Response.class.php#266: PMA_Footer->getDisplay()
./libraries/Response.class.php#277: PMA_Response->_getDisplay()
./libraries/Response.class.php#374: PMA_Response->_htmlResponse()
./libraries/OutputBuffering.class.php#116: PMA_Response::response()
PMA_OutputBuffering::stop()
Notice in ./libraries/Menu.class.php#515
Use of undefined constant PMA_DRIZZLE - assumed 'PMA_DRIZZLE'
Backtrace
./libraries/Menu.class.php#108: PMA_Menu->_getServerTabs()
./libraries/Menu.class.php#87: PMA_Menu->_getMenu()
./libraries/Footer.class.php#252: PMA_Menu->getHash()
./libraries/Response.class.php#266: PMA_Footer->getDisplay()
./libraries/Response.class.php#277: PMA_Response->_getDisplay()
./libraries/Response.class.php#374: PMA_Response->_htmlResponse()
./libraries/OutputBuffering.class.php#116: PMA_Response::response()
PMA_OutputBuffering::stop()