|
|
|
|
![]() ![]() |
![]() Group: Members
Posts: 0 Joined: 3-December 08 Member No.: 74,174 |
Post
#1
Dec 3 2008, 11:00 PM
Warning: session_start() [function.session-start]: open_basedir restriction in effect. File(/home/rifqi96/tmp) is not within the allowed path(s): (/home/moose:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/moose/public_html/vertex/adminonly.php on line 2 I get that error message whenever it tries to do the session_start function it never did that before and I don't know who rifqi96 is. |
![]() Group: Members
Posts: 0 Joined: 10-December 08 Member No.: 74,428 |
Post
#2
Dec 10 2008, 02:45 AM
In the .htaccess in your public_html folder, put: php_value session.save_path /home/USERLOGIN/tmp (Where it says USERLOGIN, put the login you use to access cpanel. I believe yours is moose > (/home/moose:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/moose) |
![]() Group: Members
Posts: 0 Joined: 26-January 09 Member No.: 76,161 |
Post
#3
Jan 26 2009, 06:28 AM
In the .htaccess in your public_html folder, put: php_value session.save_path /home/USERLOGIN/tmp (Where it says USERLOGIN, put the login you use to access cpanel. I believe yours is moose > (/home/moose:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/moose) I'm getting an Error similar to this. I did what you said to do. but now, I get this CODE Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/koshar29/public_html/yourself/index.php:2) in /home/koshar29/public_html/yourself/index.php on line 117 what am I doing wrong? |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: [MODERATOR]
Posts: 2,501 Joined: 28-May 05 From: Devon, England Member No.: 7,593 ![]() myCENT:8.70 |
Post
#4
Jan 26 2009, 08:38 AM
"headers already sent" means that you have already sent some output to the browser, and have then tried to send headers afterwards, which doesn't work. You need to re-order your code so that all your headers are sent before any text output.
|
![]() ![]() |
Similar Topics
| Topic Title | Replies | Topic Starter | Views | Last Action | |||
|---|---|---|---|---|---|---|---|
![]() |
3 | Shackman | 8,594 | 30th August 2004 - 06:33 PM Last post by: DataHead |
|||
![]() |
13 | stevey | 8,411 | 16th June 2005 - 01:45 AM Last post by: melancholy |
|||
![]() |
4 | The Devils Playpen | 5,761 | 9th August 2004 - 10:03 AM Last post by: LuciferStar |
|||
![]() |
6 | BlueReign | 4,991 | 18th August 2004 - 08:38 PM Last post by: Aero147 |
|||
![]() |
3 | Donegal | 2,392 | 4th September 2004 - 05:02 PM Last post by: wassie |
|||
![]() |
0 | Donegal | 2,406 | 25th September 2004 - 12:08 PM Last post by: Donegal |
|||
![]() |
2 | eniranjee | 2,413 | 19th February 2009 - 12:14 PM Last post by: iG-Pradip Jadhav |
|||
![]() |
5 | Mike | 2,431 | 20th December 2004 - 11:46 PM Last post by: shadow skazi |
|||
![]() |
5 | MusicOnly | 919 | 7th February 2007 - 08:07 PM Last post by: MusicOnly |
|||
![]() |
0 | Inhuman | 347 | 6th March 2008 - 06:55 AM Last post by: Inhuman |
|||
![]() |
1 | Tenshi | 87 | 29th May 2009 - 06:24 PM Last post by: jlhaslip |
|||
![]() |
2 | Dawid | 5,069 | 20th October 2004 - 07:04 PM Last post by: serverph |
|||
![]() |
5 | Triple X | 2,556 | 25th October 2004 - 02:56 AM Last post by: MuTeD |
|||
![]() |
3 | Danieluchis | 4,263 | 24th October 2004 - 07:15 PM Last post by: Danieluchis |
|||
![]() |
4 | guangdian | 4,300 | 26th October 2004 - 07:11 AM Last post by: Hamtaro |
|||
|
Open Discussion | Time is now: 5th July 2009 - 08:32 PM |
Web Hosting Powered by ComputingHost.com.