osCmax v2.5 User Manual
Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Errors attempting to login to oscMax admin panel after installation

This is a discussion on Errors attempting to login to oscMax admin panel after installation within the osCmax v2 Installation issues forums, part of the osCmax v2.0 Forums category; I am having the same problems as mentioned in this thread: http://www.oscmax.com/forums/oscmax-...languages.html Here are some details: Webserver Version: Apache 2.2.3 ...

      
  1. #1
    alee585
    Guest


    Default Errors attempting to login to oscMax admin panel after installation

    I am having the same problems as mentioned in this thread:
    Problem: Warning: main(includes/languages/

    Here are some details:

    Webserver Version: Apache 2.2.3
    PHP Version: 5.1.6
    oscMax Version: oscmax2_RC3_0_1

    I ran through the standard installation steps (although I did have to create aliases for $HTTP_GET_VARS and $HTTP_POST_VARS) and the process completed successfully (i.e. I received the 'configuration successful' message).

    The catalog seems to work fine and I can click around in it, however when I attempt to load the admin login page (e.g. http://www.<myserver>.com/catalog/admin/), the page cycles for a while and then eventually loads a white screen in IE (it loads a page in FireFox saying something about redirects and cookies).

    The error log file shows the following message several times:

    [Fri Mar 02 18:24:11 2007] [error] [client 216.81.240.241] PHP Warning: include(includes/languages/english/) [<a href='function.include'>function.include</a>]: failed to open stream: No such file or directory in /<myserverpath>/lechiconline.com/html/catalog/admin/includes/application_top.php on line 136, referer: http://www.<myserver>.com/catalog/install/install.php?step=7

    Thinking that this was obviously a permissions issue I looked at application_top.php (line 136) and found that the code is trying to load the english language version of the index.php file. However, the permissions seem to be fine. Performing an ls -al on the includes/languages/english/index.php file yields the following:

    -rw-rw-r-- 1 nobody nobody 1718 Feb 27 20:31 includes/languages/english/index.php

    Now apache is running as 'nobody' on this machine and the permissions on all of the files are set to +rwX. All files are owned by 'nobody' and the group is set to 'nobody'. Note I haven't hardened the configurations yet as I am still playing with the configuration.

    I am at a loss here. Any help would be greatly appreciated. Thanks!

  2. #2
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    Default Re: Errors attempting to login to oscMax admin panel after installation

    Try changing ownership from apache (nobody) to the actual user and usergroup. See if that helps.
    Michael Sasek
    osCMax Developer


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  3. #3
    alee585
    Guest


    Default Re: Errors attempting to login to oscMax admin panel after installation

    The actual owner is nobody. I've tried changing the ownership to be apache or root as well but the error is still the same.

    The error page for Firefox has the following text:

    The page isn't redirecting properly
    Firefox has detected that the server is redirecting the request for this address in a way that will never complete.

    * This problem can sometimes be caused by disabling or refusing to accept
    cookies.

    Cookies are enabled so this error message from Firefox may not be relevant/helpful.

    I didn't know if this was a problem with includes in PHP5 vs PHP4 or not. Any other ideas?

  4. #4
    Member
    Join Date
    Mar 2007
    Posts
    36
    Rep Power
    0


    Default Re: Errors attempting to login to oscMax admin panel after installation

    Am getting the same error on my site at:

    http://www.hfh.fontdesignonline.com/catalog/admin

    Warning: main(includes/languages/english.php) [function.main]: failed to open stream: No such file or directory in /homepages/19/d195458402/htdocs/hfh/catalog/admin/includes/application_top.php on line 133

    Fatal error: main() [function.require]: Failed opening required 'includes/languages/english.php' (include_path='.:/usr/local/lib/php') in /homepages/19/d195458402/htdocs/hfh/catalog/admin/includes/application_top.php on line 133

    Can anybody help?
    Thanks

  5. #5
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    Default Re: Errors attempting to login to oscMax admin panel after installation

    Quote Originally Posted by alee585 View Post
    The error page for Firefox has the following text:

    The page isn't redirecting properly
    Firefox has detected that the server is redirecting the request for this address in a way that will never complete.

    * This problem can sometimes be caused by disabling or refusing to accept
    cookies...

    I didn't know if this was a problem with includes in PHP5 vs PHP4 or not. Any other ideas?
    I have tested oscmax on php 5.2.0 and it works fine for me. Something else must be going on with your server besides a basic php 5.2 install to be causing this. Check all your .htaccess files. That is what that error is telling me- you have a bad rewrite rule somewhere.
    Michael Sasek
    osCMax Developer


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  6. #6
    Lurker
    Join Date
    Oct 2007
    Posts
    1
    Rep Power
    0


    Default Re: Errors attempting to login to oscMax admin panel after installation

    Got the same problem here. Also on PHP 5.1.6.
    Does someone know how to solve this?

  7. #7
    Lurker
    Join Date
    Dec 2007
    Posts
    1
    Rep Power
    0


    Default Re: Errors attempting to login to oscMax admin panel after installation

    Anyone know what the htaccess file should say? I am having the same issue of the admin login.php file refreshing over and over and not actually loading.

    I get "Website found waiting for reply" and you can see that line flashing and flashing like it is just being reloaded over and over. After about 10 minutes I still get nothing, not even an error.


    If I comment out
    <IfModule mod_setenvif.c>
    <IfDefine SSL>
    SetEnvIf User-Agent ".*MSIE.*" \
    nokeepalive ssl-unclean-shutdown \
    downgrade-1.0 force-response-1.0
    </IfDefine>
    </IfModule>
    I get an internal error so I figure it has to be something to do with that part of the htaccess file but I have no idea what to do about it.

  8. #8
    New Member
    Join Date
    Feb 2003
    Posts
    20
    Rep Power
    0


    Default Re: Errors attempting to login to oscMax admin panel after installation

    I'm having the same problem with the admin login page which appears to be redirecting to another page which redirects to the login page. Has anyone found a fix for this? I'm using php 5.2

  9. #9
    New Member
    Join Date
    Feb 2003
    Posts
    20
    Rep Power
    0


    Default Re: Errors attempting to login to oscMax admin panel after installation

    did anybody find a fix for this??

  10. #10
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    Default Re: Errors attempting to login to oscMax admin panel after installation

    I can't reproduce it, so most likely you just have your sessions settings wrong. Also, try editing the .htaccess file and commenting out all the lines in it (Put a # symbol at the beginning of each line with text on it).
    Michael Sasek
    osCMax Developer


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

Page 1 of 2 12 LastLast

Similar Threads

  1. What is my admin panel login? (email/password)
    By bestphotosonline in forum osCmax v2 Installation issues
    Replies: 4
    Last Post: 01-18-2007, 03:45 PM
  2. OSCMax 2.0 - Admin login page error
    By kenlyle in forum osCmax v2 Installation issues
    Replies: 0
    Last Post: 08-18-2005, 05:59 AM
  3. Error after osCMax fresh installation. Can't open admin
    By juanlopez4691 in forum osCMax v1.7 Installation
    Replies: 6
    Last Post: 02-28-2005, 11:17 PM
  4. Looping back to Admin Login Panel when navigate to subcat
    By cshepherd in forum osCMax v1.7 Installation
    Replies: 6
    Last Post: 01-18-2005, 05:49 AM
  5. Well crap... admin login not allowing login-no errors
    By tauras911 in forum osCMax v1.7 Installation
    Replies: 2
    Last Post: 07-06-2004, 11:12 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •