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 ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| 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
| ||||
| ||||
| Try changing ownership from apache (nobody) to the actual user and usergroup. See if that helps.
__________________ Michael Sasek osCMax Developer
|
|
#3
| |||
| |||
| 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
| |||
| |||
| 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
| ||||
| ||||
| Quote:
__________________ Michael Sasek osCMax Developer
|
|
#6
| |||
| |||
| Got the same problem here. Also on PHP 5.1.6. Does someone know how to solve this? |
|
#7
| |||
| |||
| 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
| |||
| |||
| 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
| |||
| |||
| did anybody find a fix for this?? |
|
#10
| ||||
| ||||
| 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
|
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| What is my admin panel login? (email/password) | bestphotosonline | osCMax v2 Installation issues | 4 | 01-18-2007 04:45 PM |
| OSCMax 2.0 - Admin login page error | kenlyle | osCMax v2 Installation issues | 0 | 08-18-2005 05:59 AM |
| Error after osCMax fresh installation. Can't open admin | juanlopez4691 | osCMax v1.7 Installation | 6 | 03-01-2005 12:17 AM |
| Looping back to Admin Login Panel when navigate to subcat | cshepherd | osCMax v1.7 Installation | 6 | 01-18-2005 06:49 AM |
| Well crap... admin login not allowing login-no errors | tauras911 | osCMax v1.7 Installation | 2 | 07-06-2004 11:12 PM |