osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

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 ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v2.0 Forums > osCMax v2 Installation issues

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Reply

 

LinkBack Thread Tools
  #1  
Old 03-02-2007, 04:44 PM
Lurker
 
Join Date: Dec 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
alee585
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!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 03-02-2007, 06:37 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,328
Thanks: 68
Thanked 322 Times in 305 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
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 Templates - Hundreds of premium quality templates. New designs every month!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 03-03-2007, 09:45 AM
Lurker
 
Join Date: Dec 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
alee585
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?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4  
Old 03-04-2007, 09:57 AM
Member
 
Join Date: Mar 2007
Posts: 36
Thanks: 6
Thanked 1 Time in 1 Post
Rep Power: 0
mjfontec is on a distinguished road
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5  
Old 03-04-2007, 11:07 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,328
Thanks: 68
Thanked 322 Times in 305 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
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 Templates - Hundreds of premium quality templates. New designs every month!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6  
Old 10-27-2007, 12:43 PM
Lurker
 
Join Date: Oct 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
awinds is on a distinguished road
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?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7  
Old 12-15-2007, 06:12 PM
Lurker
 
Join Date: Dec 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
mikejames is on a distinguished road
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8  
Old 02-23-2008, 08:18 AM
New Member
 
Join Date: Feb 2003
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
Rodland
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9  
Old 02-24-2008, 02:16 AM
New Member
 
Join Date: Feb 2003
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
Rodland
Default Re: Errors attempting to login to oscMax admin panel after installation

did anybody find a fix for this??
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10  
Old 02-24-2008, 09:15 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,328
Thanks: 68
Thanked 322 Times in 305 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
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 Templates - Hundreds of premium quality templates. New designs every month!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

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


All times are GMT -8. The time now is 07:55 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax