Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: script errors when posting - is it timing out?

  1. #1
    Member
    Join Date
    Apr 2010
    Location
    toronto, canada
    Posts
    69
    Thanks
    11
    Thanked 17 Times in 11 Posts

    Default script errors when posting - is it timing out?

    A few times now I've hit post after taking my time to work on a story only to see script errors and my story lost.

    Is there any reason I shouldn't try to let my users take a long time to create their stories?

  2. #2
    Former lead dev Nick's Avatar
    Join Date
    Jun 2009
    Location
    Kakamigahara, Japan
    Posts
    2,914
    Blog Entries
    88
    Thanks
    518
    Thanked 845 Times in 550 Posts

    Default

    If I recall correctly, you have 60 minutes to submit a post or comment. After that, tokens used to prevent CSRF (cross-site request forgeries) expire and the user will see an error notice.

    If you want to change that, you'll have to edit the core Hotaru.php file. Line 1664 in Hotaru 1.4.2 - change the default value of $life.

  3. Thanked by:


  4. #3
    Member
    Join Date
    Apr 2010
    Location
    toronto, canada
    Posts
    69
    Thanks
    11
    Thanked 17 Times in 11 Posts

    Default

    Thanks for the tip. BTW should it be a friendly script error? What I get is the "error on line ? in file ?.php" variety. I'll pay more attention should it happen again.

  5. #4
    Design & Development petsagouris's Avatar
    Join Date
    Jul 2010
    Location
    Rethymno, Greece
    Posts
    314
    Blog Entries
    2
    Thanks
    54
    Thanked 137 Times in 102 Posts

    Default

    Can you please paste the error here next time it happens?

  6. #5
    Member
    Join Date
    Apr 2010
    Location
    toronto, canada
    Posts
    69
    Thanks
    11
    Thanked 17 Times in 11 Posts

    Default

    Yes. will do.

  7. #6
    Member
    Join Date
    Apr 2010
    Location
    toronto, canada
    Posts
    69
    Thanks
    11
    Thanked 17 Times in 11 Posts

    Default

    Notice: Undefined index: submit_editorial in /f5/to/public/content/plugins/submit/libs/SubmitFunctions.php on line 491

    Notice: Undefined index: submit_editorial in /f5/to/public/content/plugins/submit/libs/SubmitFunctions.php on line 632

    Notice: Undefined index: submit_orig_url in /f5/to/public/content/plugins/submit/libs/SubmitFunctions.php on line 641

    Warning: Cannot modify header information - headers already sent by (output started at /f5/to/public/content/plugins/submit/libs/SubmitFunctions.php:491) in /f5/to/public/content/plugins/submit/submit.php on line 264

  8. #7
    Former lead dev Nick's Avatar
    Join Date
    Jun 2009
    Location
    Kakamigahara, Japan
    Posts
    2,914
    Blog Entries
    88
    Thanks
    518
    Thanked 845 Times in 550 Posts

    Default

    Paste your plugin list here (from Admin -> Maintenance -> generate a system report).

  9. #8
    Member
    Join Date
    Apr 2010
    Location
    toronto, canada
    Posts
    69
    Thanks
    11
    Thanked 17 Times in 11 Posts

    Default

    Plugins:
    1. bookmarking v.0.5 (0.0) [enabled]
    2. user_signin v.0.6 (0.0) [enabled]
    3. widgets v.1.0 (0.0) [enabled]
    4. users v.2.2 (0.0) [enabled]
    5. submit v.3.2 (0.0) [enabled]
    6. comments v.2.6 (0.0) [enabled]
    7. category_manager v.1.0 (0.0) [enabled]
    8. categories v.1.9 (0.0) [enabled]
    9. search v.1.2 (0.0) [enabled]
    10. tags v.1.8 (0.0) [enabled]
    11. vote v.2.3 (0.0) [enabled]
    12. post_manager v.1.0 (0.0) [enabled]
    13. user_manager v.1.2 (0.0) [enabled]
    14. comment_manager v.0.6 (0.0) [enabled]
    15. post_rss v.0.1 (0.0) [enabled]
    16. gravatar v.1.0 (0.0) [enabled]
    17. stop_spam v.0.4 (0.0) [enabled]
    18. address v.0.1 (0.0) [enabled]
    19. order_by_votes v.0.2 (0.0) [enabled]
    20. related_posts v.0.7 (0.0) [enabled]
    21. ckeditor v.0.1 (0.0) [enabled]
    22. tos_antispam v.0.4 (0.0) [enabled]
    23. rpx v.0.6 (0.0) [enabled]
    24. text_widget v.0.5 (0.0) [enabled]
    25. sidebar_login v.0.1 (0.0) [enabled]
    26. facebook_open_graph v.0.5 (0.0) [enabled]
    27. tag_cloud v.0.3 (0.0) [enabled]
    28. oembed v.0.1 (0.0) [enabled]

  10. #9
    Former lead dev Nick's Avatar
    Join Date
    Jun 2009
    Location
    Kakamigahara, Japan
    Posts
    2,914
    Blog Entries
    88
    Thanks
    518
    Thanked 845 Times in 550 Posts

    Default

    Hmmm... no idea at the moment, sorry.

  11. #10
    Member
    Join Date
    Apr 2010
    Location
    toronto, canada
    Posts
    69
    Thanks
    11
    Thanked 17 Times in 11 Posts

    Default

    Am I alone in experiencing this problem?

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Any problems in posting in different languages
    By acorn in forum How-To and Troubleshooting
    Replies: 2
    Last Post: 09-09-2010, 04:22 AM
  2. Special charaters issue when posting, after update
    By netnuvo in forum How-To and Troubleshooting
    Replies: 2
    Last Post: 06-13-2010, 05:49 PM
  3. Replies: 7
    Last Post: 05-17-2010, 05:06 AM
  4. Before Posting, PLEASE READ THIS FIRST!!!
    By Nick in forum How-To and Troubleshooting
    Replies: 0
    Last Post: 03-25-2010, 03:04 PM

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
  •