Menu

#2052 (ok 2.8.0) Error: failed to open stream:

2.8.0-rc2
fixed
None
1
2013-06-11
2006-03-02
No

I just downloaded and installed this release.

Using my old config file 2.8.0

This message came at the begining:
Warning: main(libraries/Theme.class.php): failed to
open stream: No such file or directory in
C:\Webs\phpMyAdmin-2.8.0-rc2\libraries\Theme_Manager.class.php
on line 5

Fatal error: main(): Failed opening required
'libraries/Theme.class.php'
(include_path='C:\Server\PhpIncludes') in
C:\Webs\phpMyAdmin-2.8.0-rc2\libraries\Theme_Manager.class.php
on line 5

I edited Theme_Manager.class.php and changed line 5 from:
require_once('libraries/Theme.class.php');
TO require_once('Theme.class.php');

Tried again and worked.

Discussion

  • Marc Delisle

    Marc Delisle - 2006-03-02

    Logged In: YES
    user_id=210714

    Did you change your include_path setting on the server?
    Because this code has not changed since 2.8.0-rc1.

     
  • Carlos Pérez

    Carlos Pérez - 2006-03-02

    Logged In: YES
    user_id=1204910

    NO I'm still running my standard configuration.
    I have not changed anything.
    I went back to my old 2.6.4 version.
    Since the release of version 2.7 I have not been able to set
    the PhpMyAdmin version to anyone of the new releases.

     
  • Marc Delisle

    Marc Delisle - 2006-03-02
    • milestone: --> 2.8.0-rc2
     
  • Carlos Pérez

    Carlos Pérez - 2006-03-02

    Logged In: YES
    user_id=1204910

    After a little more investigation I found this:

    In release 2.6.4 the Theme_ManagerClass.php script does not
    exist in phpMyAdmin/libraries.

    In release 2.8.0.beta the the Theme_ManagerClass.php script
    DOES exist BUT the line 5 reads:
    require_once('./libraries/Theme.class.php');
    NOT
    require_once('libraries/Theme.class.php');

    so your comment:
    Did you change your include_path setting on the server?
    Because this code has not changed since 2.8.0-rc1.

    Furthermore It enphasizes the comment mail I sent to Marc
    Delisle <Marc.Delisle@cegepsherbrooke.qc.ca> asking politely
    about the way phpmyadmin is being tested, which he answered
    back quite in a nasty way.

    Also for lem9 your comment means that you even didn't read
    the code of the script before ansewring back.

     
  • Carlos Pérez

    Carlos Pérez - 2006-03-03

    Logged In: YES
    user_id=1204910

    After a little more investigation I found this:

    In release 2.6.4 the Theme_ManagerClass.php script does not
    exist in phpMyAdmin/libraries.

    In release 2.8.0.beta the the Theme_ManagerClass.php script
    DOES exist BUT the line 5 reads:
    require_once('./libraries/Theme.class.php');
    NOT
    require_once('libraries/Theme.class.php');

    so your comment:
    Did you change your include_path setting on the server?
    Because this code has not changed since 2.8.0-rc1.

    Furthermore It enphasizes the comment mail I sent to Marc
    Delisle <Marc.Delisle@cegepsherbrooke.qc.ca> asking politely
    about the way phpmyadmin is being tested, which he answered
    back quite in a nasty way.

    Also for lem9 your comment means that you even didn't read
    the code of the script before ansewring back.

     
  • Michal Čihař

    Michal Čihař - 2006-03-03

    Logged In: YES
    user_id=192186

    There should be
    require_once('./libraries/Theme.class.php');, I will change it.

     
  • Michal Čihař

    Michal Čihař - 2006-03-03
    • assigned_to: nobody --> nijel
    • status: open --> open-accepted
     
  • Michal Čihař

    Michal Čihař - 2006-03-03

    Logged In: YES
    user_id=192186

    Fixed in CVS, thanks for reporting.

     
  • Michal Čihař

    Michal Čihař - 2006-03-03
    • priority: 5 --> 1
    • summary: 2.8.0-rc2 Error: failed to open stream: --> (ok 2.8.0) Error: failed to open stream:
    • status: open-accepted --> open-fixed
     
  • Carlos Pérez

    Carlos Pérez - 2006-03-03

    Logged In: YES
    user_id=1204910

    I just saw the file, checked my download and they are both
    the same, the file in the CVS has the error, is pointing to
    a lower level of folders not to the same folder in which
    theme_class.php is

     
  • Marc Delisle

    Marc Delisle - 2006-03-03

    Logged In: YES
    user_id=210714

    Mr Pérez is wrong when writing:
    "In release 2.8.0.beta the the Theme_ManagerClass.php script
    DOES exist BUT the line 5 reads:
    require_once('./libraries/Theme.class.php');
    NOT
    require_once('libraries/Theme.class.php');"

    Doing a checkout of the RELEASE_2_8_0BETA1 version clearly
    shows that line 5 was
    require_once('libraries/Theme.class.php');

    Mr Pérez must have modified his copy at this time, and did
    not remember about it. This happens. He also forgot to tell
    us about this problem in beta1. This happens too.

     
  • Carlos Pérez

    Carlos Pérez - 2006-03-03

    Logged In: YES
    user_id=1204910

    I don't Know and I don't want to get into a useless
    discussion here but, these are the 7 first lines that came
    with the version 2.8.0.beta
    ----------------------------------------------------------
    <?php
    /* $Id: Theme_Manager.class.php,v 1.5 2006/01/17 17:02:30
    cybot_tm Exp $ */
    // vim: expandtab sw=4 ts=4 sts=4:

    require_once('./libraries/Theme.class.php');

    class PMA_Theme_Manager {
    ----------------------------------------------------------
    ANd these are the very same first seven line in the version
    2.8.1.rc1 that I also downloaded:
    ----------------------------------------------------------
    <?php
    /* $Id: Theme_Manager.class.php,v 1.5 2006/01/17 17:02:30
    cybot_tm Exp $ */
    // vim: expandtab sw=4 ts=4 sts=4:

    require_once('libraries/Theme.class.php');

    class PMA_Theme_Manager {
    ----------------------------------------------------------
    furthermore these is the version that runs in my
    installation (as a test)
    ----------------------------------------------------------
    <?php
    /* $Id: Theme_Manager.class.php,v 1.5 2006/01/17 17:02:30
    cybot_tm Exp $ */
    // vim: expandtab sw=4 ts=4 sts=4:

    require_once('Theme.class.php');

    class PMA_Theme_Manager {
    ----------------------------------------------------------
    As anyone can see, the first and third versions of the
    script points to the same directory/folder.

    I have not changed (I NEVER DO) anything EVER to any of the
    PMA except for this very simple change.

    I KEEP MY POINT, MR. Marc Delisle, YOU ARE VERY RUDE AND ARE
    ASSUMING SOMETHING THA I HAVE NOT DONE.

    If needed I can upload BOTH versions Beta and RC1 as the
    were downloaded originally to my computer from your servers.

     
  • Marc Delisle

    Marc Delisle - 2006-03-06
    • status: open-fixed --> closed-fixed
     
  • Michal Čihař

    Michal Čihař - 2013-06-11
    • Status: closed-fixed --> fixed
     
MongoDB Logo MongoDB