Web Hosting Talk







View Full Version : Hello i have a problem with the adding an item to a site


swathin2
11-13-2008, 09:22 AM
hello every body i designed a site with the help of nucleus cms 3.3, which is a free software and it uses php for designing it.
i did the basic modifications but i got a probelem while adding an item. in the begining i was able to add freely but after few days when i was experimenting with the plugins present in that i found it difficult to add a new item to the existing post.
my site url is
lcs.eagletel.in
and the error i am getting is
"Invalid or expired ticket"
i know that this might be the problem with the session or cookie but i am in a confused state and got stuck with out knowing how to rectify it.
as i am new to php i do not know much with regards to this
i kept a link where you can also register and then try to add as item. then you can come to know what the error might be.
also suggest me any suggestions how i can make it better

jasper_
11-16-2008, 05:09 AM
where does it read that error?

swathin2
11-17-2008, 08:45 AM
i am getting the error when i am trying to add an item to the existing blog.
in the editor after typing some matter then i am trying to post it then i am getting this error.
hope you shall tell me what can be done for this.
if you still do not understand make registration to my site and then start adding an item to it.
then you can come to know what the error is:
lcs.eagletel.in

jasper_
11-17-2008, 11:09 PM
nucleus/libs/MANAGER.php, around line 424, change the function to this:
function _cleanUpExpiredTickets()
{
// remove tickets older than 1 hour
// $oldTime = time() - 60 * 60;
$oldTime = time() - 60 * 60 * 12;
$query = 'DELETE FROM ' . sql_table('tickets'). ' WHERE ctime < \'' . date('Y-m-d H:i:s',$oldTime) .'\'';
sql_query($query);
}
Found that here: http://www.takehana.tv/cccc/index.php?itemid=2132

swathin2
11-18-2008, 01:45 AM
i checked with the code which you gave me
i made the modifications but i was not able to overcome that error so can you tell me a way to overcome it
i changed it but it is not working for me]
anything spl other than that can be done

swathin2
11-18-2008, 02:56 AM
i think it is better you have registration to my site first and then try adding an item to the existing one

swathin2
11-18-2008, 07:25 AM
hello jasper
did u try out with my issue. if so what you think can be done on it so that i can clear my problem. hope you will respond soon.
not only him who knows the answer can respond
thank you for making an effort to reply me. hope you will