Home Private Messages Search
CPG Dragonfly™ CMS Dedicated Server & Bandwidth Sponsored by DedicatedNOW
Toggle Content
 
Forums ⇒ General ⇒ This Site :: Archives ⇒ Bad Request :: Archived


Bad Request :: Archived
Post your comments about this site or bugs found on this website in here. Please post errors, bugs or other problems found in your installation in the appropriate forum.
Go to page Previous  1, 2
Post new topic    Revive this topic    Printer Friendly Page     Forum Index ⇒  This Site

Topic Archived View previous topic :: View next topic  
Author Message
pretzy
500+ Posts Club
500+ Posts Club

Offline Offline
Joined: Sep 09, 2005
Posts: 519
Location: Australia
PostPosted: Sun Feb 26, 2006 11:43 pm
Post subject: Re: Bad Request

Maybe make a nice page with an image that says "Please wait system busy"

Looks better than an error which makes ppl think its broken

_________________
Pretzy's Place Pertzel Family Tree History Genealogy
Riverlife Church Henty

pretzy's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
XP_Apache 2.2.2_MySQL 5.0.21_PHP 5.1.4_CPGNuke 9.1.1
Back to top
View user's profile Visit poster's website
norbie
Silver Supporter
Silver Supporter

Offline Offline
Joined: Jun 29, 2004
Posts: 737
Location: Norbie's World
PostPosted: Mon Feb 27, 2006 9:59 am
Post subject: Re: Bad Request

Or that nice little Preloader that was made a while back.

_________________
Norbie

www.norbiesworld.co.uk

norbie's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux / Apache Custom Version / 4.0.26-standard (client: 5.0.15) / 4.4.4 / 9.1.1
Back to top
View user's profile Send e-mail Visit poster's website MSN Messenger
alva
1000+ Posts Club
1000+ Posts Club

Offline Offline
Joined: May 31, 2005
Posts: 1150
Location: The Netherlands
PostPosted: Tue Feb 28, 2006 9:11 am
Post subject: Re: Bad Request

Unfortunately this fix also wiped away a post of mine, on which I was working over a relatively long period of time. After clicking Submit I got the error message, the redirect and then
Quote::
No post mode specified
Of course I got my post back by using the back-button (I have browsercaching enabled), but it's not really elegant.


alva's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/Apache/5.0.24/5/9.1 CVS
Back to top
View user's profile Visit poster's website
WizKid234
Newbie
Newbie

Offline Offline
Joined: Mar 02, 2006
Posts: 1

PostPosted: Thu Mar 02, 2006 5:28 am
Post subject: Re: Bad Request

I believe this has to do with the php "session.gc_maxlifetime" setting..

http://us3.php.net/manual/en/ref.session.php

session.gc_maxlifetime integer
session.gc_maxlifetime specifies the number of seconds after which data will be seen as 'garbage' and cleaned up.


Default:
session.gc_maxlifetime: "1440" // 1440 seconds (24 Minutes)

For administrators that want to increase that time.. They may modify the "\includes\classes\session.php" file..

Backup the file first before editing of course..


Do a search for this next line to get to the right place in the file
Quote::

$this->old_handler = ini_set('session.save_handler', 'files');


Under that you may or may not see this line commented out below it

Quote::

// ini_set('session.gc_maxlifetime', $expired); # bug not deleting ?


$expired is declared as "$expired = (gmtime()-($time*60));"
The gmtime() isn't supposed to be included in the gc_maxlifetime setting...


You could change the 'session.gc_maxlifetime' line to the following and uncomment it, or if you don't see the commented line then add a new line under the one you searched for. Change/Add the following one line..
Quote::

ini_set('session.gc_maxlifetime', ($time*60));


default value for $time in the function is 180.. So this should change the dragonfly session expired time from 24 minutes to 3 hours.. (180 minutes)..

If that doesn't work for someone, like for instance the "ini_set" feature is disabled..then maybe you need to manually edit the php.ini and set it to a higher setting..


WizKid234's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Dragonfly (9.1.0.8 CVS)
Back to top
View user's profile Visit poster's website
DJ Maze
Developer
Developer

Offline Offline
Joined: Apr 19, 2004
Posts: 5683
Location: http://tinyurl.com/5z8dmv
PostPosted: Wed Mar 08, 2006 3:53 pm
Post subject: Re: Bad Request

It's fixed for atleast our PHP systems.
Donno if it works on others.

WizKid234 wrote:
I believe this has to do with the php "session.gc_maxlifetime" setting..
Yes and no, we've already tried that but the server crashes when you extend it. This has to do with a memory restriction on the list creation in the shell 'ls' command.


DJ Maze's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Fedora 15 / 2.2.22 / 5.5.20 / 5.3.10 / CVS
Back to top
View user's profile Visit poster's website Yahoo Messenger Photo Gallery
Display posts from previous:   
Post new topic    Revive this topic    Printer Friendly Page    Forum Index ⇒  This Site
Page 2 of 2
All times are GMT
Go to page Previous  1, 2

Archive Revive
Username:
This is an archived topic - your reply will not be appended here.
Instead, a new topic will be generated in the active forum.
The new topic will provide a reference link to this archived topic.
 
   Toggle Content User Info

Welcome Anonymous

Nickname
Password
(Register)

   Toggle Content Last CVS commits
· Fixed .ico Expires header.
· Removed domain name from cookies so subdomains wont access them anymore.
· CSS and JS, case insensitives.
· CSS and JS, send correct HTTP 1.1 headers and fixed issues where themes and...
· Further security class improvements.
· 301 redirects on LEO changes
· Option to force 3xx http status codes
· Validate googlebot.com and google.com crawlers.
· CCBot
· Rss with etag and atom.

lexo me teper

   Toggle Content Community

Support for DragonflyCMS in a other languages:

Deutsch
Español

   Toggle Content X-links
UltraEdit Browse Happy logo Firefox MySQL PostgreSQL Valid CSS! Valid XHTML 1.0! Unicode Encoded Badge NukeBiz Resources Raven DragonflyCMS Dedicated Now InsideSupport Lampe Berger

You are seeing squares or questionmarks on this page?

All content of this website is copyrighted by the Creative Commons NC-SA
The logos and trademarks used on this site are the property of their respective owners
We are not responsible for comments posted by our users, as they are the property of the poster.
Our server runs on a P3 1.2GHz with 512MB RAM with no accelerators
Support GoPHP5.org
Interactive software released under GNU GPL, Code Credits, Privacy Policy