Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 26

Thread: CSRF error on submission

  1. #11
    Senior Member skorpyo's Avatar
    Join Date
    Apr 2010
    Location
    Romania
    Posts
    119
    Thanks
    75
    Thanked 20 Times in 12 Posts

    Default

    PHP Notice: Undefined index: category_parent in /***/content/plugins/categories/categories.php on line 409 and some related to custom profile fields witch I know of...

  2. #12
    Senior Member
    Join Date
    Jun 2011
    Location
    Thailand
    Posts
    294
    Thanks
    0
    Thanked 69 Times in 63 Posts

    Default

    It doesn't look related, but just in case, you have javascript errors: jquery.js and script.js are missing. Can you fix that?

  3. #13
    Senior Member skorpyo's Avatar
    Join Date
    Apr 2010
    Location
    Romania
    Posts
    119
    Thanks
    75
    Thanked 20 Times in 12 Posts

    Default

    no they aren't missing...do you even know what my problem is and how to fix it? or you're just posting to get some numbers? You just asked me a lot of questions and I still have the same problem...

  4. #14
    Senior Member
    Join Date
    Jun 2011
    Location
    Thailand
    Posts
    294
    Thanks
    0
    Thanked 69 Times in 63 Posts

    Default

    Get numbers of what Do they give medal or something when we post here I was just trying to help you as far as I can, without seeing your codes, your mods and settings. But it seems it is not worth to do it Good luck to you.

    By the way there are javascript/jquery.js and javascript/script.js calls from your header, but those files are missing.

    PHP Code:
    <script type="text/javascript" src="javascript/jquery.js"></script> 
    <script type="text/javascript" src="javascript/script.js"></script> 

  5. Thanked by:


  6. #15
    Senior Member skorpyo's Avatar
    Join Date
    Apr 2010
    Location
    Romania
    Posts
    119
    Thanks
    75
    Thanked 20 Times in 12 Posts

    Default

    I'm just frustrated man...I really need my site back the way it was...posting...and I researched a lot and still no solution...I THANK you very much for your help so far...hope you'll forgive me and if you still want to help, please do so.
    And about the java files...they where in the theme's "javascript" folder, but I also added them in the main site folder...

    BTW...I set the "life" variable to 10000 and seems to work now...but I want to know what side effects will this setting have on my site?

    Later Edit: Damn...now I see that even comments aren't posting at first...after you post them nothing shows, no error nothing...but if I clear the cache appears...very strange...
    Last edited by skorpyo; 09-13-2011 at 08:50 PM.

  7. #16
    Senior Member skorpyo's Avatar
    Join Date
    Apr 2010
    Location
    Romania
    Posts
    119
    Thanks
    75
    Thanked 20 Times in 12 Posts

    Default

    Problem fixed. There was a server setting for caching that triggered the error...disabled it and now everything is back to normal.

  8. #17
    Junior Member
    Join Date
    Dec 2011
    Posts
    13
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by PuckRobin View Post
    Is the hosting company Godaddy?

    My hosting company is godaddy
    I get this error when somebody tries to register a new account

    Should I contact them for this?

  9. #18
    Senior Member
    Join Date
    Jun 2011
    Location
    Thailand
    Posts
    294
    Thanks
    0
    Thanked 69 Times in 63 Posts

    Default

    I dont think you will get a result from Godaddy. Similar issues (not limited to Hotaru) going on for months and none of them solved AFAIK.

    Try to change csrfInit value on the below mentioned file to a huge number, say 1000000.

    Quote Originally Posted by PuckRobin View Post
    This is probably a server time setting issue and you may *temporarily* bypass it by changing "life" variable of function csrfInit to a huge number (default 60 minutes) in the file: libs/extensions/csrf/csrf_class.php

  10. Thanked by:


  11. #19
    Junior Member
    Join Date
    Dec 2011
    Posts
    13
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by PuckRobin View Post
    I dont think you will get a result from Godaddy. Similar issues (not limited to Hotaru) going on for months and none of them solved AFAIK.

    Try to change csrfInit value on the below mentioned file to a huge number, say 1000000.
    Thanks PuckRobin

    I did that and I still have the same problem
    It only happens when you try to register a user.
    Any other ideas on how can I solve this?

    Thanks!!

  12. #20
    Senior Member
    Join Date
    Jun 2011
    Location
    Thailand
    Posts
    294
    Thanks
    0
    Thanked 69 Times in 63 Posts

    Default

    Try to make an exact copy of your website on your localhost, but by copying everything, not by installing.

    If you don't have problems there, change your hosting.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Error CSRF on Step 3 of the install
    By chaosintestinal in forum Installation and Upgrading
    Replies: 3
    Last Post: 04-21-2011, 10:35 AM
  2. Login failed, CSRF error. Please try again.
    By asteriskperl in forum How-To and Troubleshooting
    Replies: 4
    Last Post: 10-01-2010, 03:14 PM
  3. CSRF error and Success Message
    By jganesh in forum How-To and Troubleshooting
    Replies: 2
    Last Post: 08-11-2010, 04:10 PM
  4. A question on CSRF error and how do I disable CSRF error in submit?
    By nothingman in forum How-To and Troubleshooting
    Replies: 5
    Last Post: 07-23-2010, 04:20 PM
  5. Fatal error: Cannot redeclare class csrf
    By angolanmade in forum Installation and Upgrading
    Replies: 1
    Last Post: 04-04-2010, 05:17 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •