Menu

#3792 PHP errors in transformation

Latest_Git
fixed
None
5
2013-06-11
2013-01-27
No

Currently demo server produces quite a lot of following errors:

PHP Fatal error: Call to a member function getInfo() on a non-object in libraries/transformations.lib.php on line 150

Discussion

  • Marc Delisle

    Marc Delisle - 2013-01-27

    Michal,
    can you verify whether it's because of https://github.com/phpmyadmin/phpmyadmin/commit/4e565265 ?

    By the way, I retested with PHP 5.2.8 + MySQL 5.1.40 + libclient. Prior to this commit, when I want to display a table's structure, I get

    PHP Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM in libraries/transformations.lib.php on line 150

    With this commit, the same action works fine, both with PHP 5.2.8 and a newer server config (PHP 5.4.10 + MySQL 5.6.4 + mysqlnd).

     

    Last edit: Marc Delisle 2013-01-27
  • Michal Čihař

    Michal Čihař - 2013-01-27

    Yes, reverting this commit does fix the issue with PHP 5.4.4, so most likely we need better fix for [#3783].

     

    Related

    Bugs: #3783


    Last edit: Michal Čihař 2013-01-27
  • Michal Čihař

    Michal Čihař - 2013-01-27

    I guess the problem here is that we're calling class method, but don't use class directly, but have it in variable...

     
  • Marc Delisle

    Marc Delisle - 2013-01-27

    Should be OK now with the merge of https://github.com/phpmyadmin/phpmyadmin/pull/146, please confirm + close.

     
  • Marc Delisle

    Marc Delisle - 2013-01-27
    • assigned_to: Marc Delisle
     
  • Michal Čihař

    Michal Čihař - 2013-01-28
    • status: open --> closed
     
  • Michal Čihař

    Michal Čihař - 2013-01-28

    Fix confirmed.

     
  • Michal Čihař

    Michal Čihař - 2013-06-11
    • Status: closed --> fixed
     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.