Menu

#1 Simple Example doesn't install properly

closed
nobody
5
2005-08-11
2005-07-26
Jon
No

Got the phpmvc-base-0.3.4. In folder
'phpmvc-base-0.3.4/docs/Install/@Install_Linux.txt',
there is 3rd part to the install instructions.

This 3rd part is entitled "3) Setup the simple
example application".

After doing that 3rd instruction, I tried running
the Main.php in folder 'phpmvc-base-0.3.4/Main.php'.

Error logs show that 'globalPrepend.php' fail to
load 'FileUtils.php'. I looked at the whole
classpath created by phpMVC. None of the paths point
to 'phpmvc-base-0.3.4/WEB-INF/classes/phpmvc/utils',
where the "FileUtils.php' resides.

Substitute folder name 'phpmvc-base-0.3.4' with
'phpmvc'. I put that in so you know exactly which
archive I pulled your packages out from.

Let me know how I can help debug this, if it does
need to be debugged? I'd appreciate a set of
comprehensive docs to the whole project structure
and development, so I can help out.

Please help. Thanks!

Jonathon

Discussion

  • Jon

    Jon - 2005-07-26

    Logged In: YES
    user_id=1318737

    Debugged this problem. The
    ClassPath::getPathDelimiter($osType) drew a blank from
    "$HTTP_ENV_VARS" (as well as "$_ENV").

    I'll try to report this difficulty to php.net.

     
  • Jon

    Jon - 2005-07-26

    Logged In: YES
    user_id=1318737

    Bug solved. Add fix?

    Perhaps you could use PHP's `getenv('windir')' instead.
    Default installation of PHP has "variables_order" set to
    "GPCS" for performance.

     
  • John Wildenauer

    John Wildenauer - 2005-07-28
    • status: open --> pending
     
  • John Wildenauer

    John Wildenauer - 2005-07-28

    Logged In: YES
    user_id=662357

    See also:

    Enviromental variable path bug report

    ClassPath.php on line 257
    $winDir = $_ENV["windir"];

    The [1196473] Enviromental variable path bug report

    In the class path file:
    phpmvc-base\\WEB-INF\\classes\\phpmvc\\utils\\ClassPath.php
    on line 257

    Try changing:
    $winDir = $_ENV["windir"];
    to
    $winDir = $_ENV["WINDIR"];

    Or
    For PHP5 users: try the php.MVC5 ClassPath.php file as a
    replacement [UNTESTED]
    http://phpmvc.net/download/phpmvc5/PhpMVC5_R-JCW-2005-04-27-0935.zip

    See also bug report:
    [ 1196473 ] Enviromental variable path.
    http://sourceforge.net/tracker/index.php?func=detail&aid=1196473&group_id=68207&atid=520415

     
  • SourceForge Robot

    • status: pending --> closed
     
  • SourceForge Robot

    Logged In: YES
    user_id=1312539

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).

     

Log in to post a comment.

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.