Go Back   Web Hosting UK Forums | Linux Windows Dedicated Server and cPanel VPS Hosting Forum > Support > php issues.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-17-2007, 07:11 PM
Junior Member
 
Join Date: Apr 2007
Posts: 16
Default Joomla installation

I have installed joomla using fantastico to my shared joomla hosting web space. The install seemed to go very well, sessions folder is writable and I could log into the admin area with no problems.

My problems started when I tried to add or amend content. Every time I click save or apply I get logged out of the admin area and directed to the public side front page.

After a bit of digging I think the problem is not write access to the sessions directory as I originally thought but access to the actual session file within the sessions directory.
I think the joomla scripts are running under the chmod user name 'nobody' and I don't think this user name belongs to any chmod user group. As a result when the session file is created by the script it is created with the chomod permissions 600 or '-rw-------'. Which means that the script cannot access the sessions file it just created.

Any suggestions anybody can give as to how I can solve this problem would be a big help.

Thanks in advance
Dizzzy
Reply With Quote
  #2 (permalink)  
Old 04-17-2007, 07:34 PM
Senior Member
 
Join Date: Jan 2007
Posts: 939
Default

is this a cross-post? Don't know whether same post as Kev has replied to. If so sry Kev.

Afraid I have no knowledge of joomla or any other cms but here are my thoughts for what it's worth.
If it is logging you out then poss:

Can you set session timeout in the config settings?
Privacy and security settings on your browser or blocking?
Reply With Quote
  #3 (permalink)  
Old 04-17-2007, 07:39 PM
Junior Member
 
Join Date: Apr 2007
Posts: 16
Default

Quote:
Originally Posted by jon123 View Post
is this a cross-post? Don't know whether same post as Kev has replied to. If so sry Kev.

Afraid I have no knowledge of joomla or any other cms but here are my thoughts for what it's worth.
If it is logging you out then poss:

Can you set session timeout in the config settings?
Privacy and security settings on your browser or blocking?
No this is not a cross post, This is the only place I have posted this question.

I have tried the browser settings but I will have a look at the session time out in the config file.

Thanks for you help
Reply With Quote
  #4 (permalink)  
Old 04-17-2007, 07:47 PM
Senior Member
 
Join Date: Jan 2007
Posts: 939
Default

this maybe of help???

Quote:
1) login to the adminisrator section of your site
2) Click on the Global Configuration button on the main page
3) Look for the "Server" tab once the config has loaded and click this tab
4) You will see a setting called: "Session Authentication Method:" and next to it there is a drop down list. Yours will most likely be set to Level 3 and herein lies the problem.
5) Change the value to Level 2 or Level 1
6) Click the Save button and your problem is solved.
Reply With Quote
  #5 (permalink)  
Old 04-17-2007, 08:22 PM
Junior Member
 
Join Date: Apr 2007
Posts: 16
Default

Thanks jon123,

The session time out did the trick ,

Could not alter the settings from Global config as your second post suggested so I altered this line in configuration.php Instead.

$mosConfig_session_life_admin = '3800';

Works a treat Thanks again.
Reply With Quote
  #6 (permalink)  
Old 04-17-2007, 08:40 PM
Senior Member
 
Join Date: Jan 2007
Posts: 939
Default

You're welcome, glad you sorted it!
Reply With Quote
  #7 (permalink)  
Old 04-17-2007, 09:17 PM
kev woodman's Avatar
Premium Member
 
Join Date: Jul 2006
Location: Newport, Wales, UK.
Posts: 1,494
Default

Slightly different problem - although the solution is possibly the same, what are the chances?
__________________
homo sum: humani nil a me alienum puto ... ( just Google it )
Reply With Quote
  #8 (permalink)  
Old 04-17-2007, 09:39 PM
Senior Member
 
Join Date: Jan 2007
Posts: 939
Default

50/50 ???

Any thoughts on the formmail problem?
Path to perl right?
Reply With Quote
  #9 (permalink)  
Old 04-18-2007, 07:20 AM
kev woodman's Avatar
Premium Member
 
Join Date: Jul 2006
Location: Newport, Wales, UK.
Posts: 1,494
Default

Well I'm no expert on Perl but that path doesn't look right to me. The hosting is Linux is it?
__________________
homo sum: humani nil a me alienum puto ... ( just Google it )
Reply With Quote
  #10 (permalink)  
Old 04-18-2007, 08:27 AM
Senior Member
 
Join Date: Jan 2007
Posts: 939
Default

Good question! you knowI never even asked..
Reply With Quote
Reply

Tags
joomla hosting, joomla installation, joomla web hosting, joomla website hosting

Thread Tools
Display Modes

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
Forum Jump


All times are GMT. The time now is 03:50 AM.
Copyright 2002-2007 WebHosting.uk.com. All rights reserved.
Web Hosting UK Forum