Go Back   Pligg CMS Forum > Pligg Development > Bug Report

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-24-2006, 03:40 AM
New Pligger
 
Join Date: Mar 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
confirm details, step 3 of 3

confirm details, step 3 of 3
story details
Warning: Smarty error: unable to read resource: "submit_errors.tpl" in d:\www\eltonto\wwwroot\pligg\Smarty.class.php on line 1095


what's this????????

how can i fix it?
Reply With Quote
  #2 (permalink)  
Old 03-26-2006, 02:30 AM
New Pligger
 
Join Date: Mar 2006
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Smile You need to select a category

Select a category and then press the submit button -- page will post fine. I did this with my first post also.
Reply With Quote
  #3 (permalink)  
Old 03-26-2006, 10:51 PM
AshDigg's Avatar
Coder
 
Join Date: Dec 2005
Posts: 1,574
Thanks: 235
Thanked 345 Times in 206 Posts
Replace your /submit.php with this file.

thanks!

Edit: Uploaded new submit.php to fix the "\" issue.
Attached Files
File Type: php submit.php (6.5 KB, 91 views)
__________________
- Ash

Last edited by AshDigg; 04-11-2006 at 10:38 AM..
Reply With Quote
  #4 (permalink)  
Old 03-26-2006, 11:52 PM
New Pligger
 
Join Date: Mar 2006
Location: MA
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to webfanatic
This did the trick!

Thanks, Ash. A comment in the IRC channel and a fix is up and working within 3 minutes. Can't get better support than that.
Reply With Quote
  #5 (permalink)  
Old 03-27-2006, 02:12 PM
New Pligger
 
Join Date: Mar 2006
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
doesn't work for short titles

It works fine when your title and description are long enough. But if they're a couple of words, I still get that error.

Is there a way to show the user a message like "please make sure your title is long enough." rather than that smarty error?
Reply With Quote
  #6 (permalink)  
Old 03-30-2006, 04:08 PM
dwg dwg is offline
New Pligger
 
Join Date: Mar 2006
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Slashes not correct for *nix

Hey ash,

quick note, the new submit.php file you posted has '\' slashes instead of '/', so users on *nix probably still get the error message. I changed mine to '/' and everything shows correctly. However, I noticed when clicking the "back" or "modify" button, since it is just a history -1 link, the title, subscription, etc. are emptied b/c step 2 came from a POST, and the browser needs to resubmit to go back to Step 2. Is there a problem with making Step 1 submit a GET variable instead of a post so that the back buttons will work?

Thanks,

DG
Reply With Quote
  #7 (permalink)  
Old 04-10-2006, 01:26 PM
New Pligger
 
Join Date: Apr 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Hi, this is the error I got after downloading the new submit.php
and wasn't related to length of title

story details
Warning: Smarty error: unable to read resource: "skidoo_too\submit_errors.tpl" in /home/site/public_html/Smarty.class.php on line 1095

When I replaced \ with / everything went fine!!
Reply With Quote
  #8 (permalink)  
Old 04-11-2006, 10:40 AM
AshDigg's Avatar
Coder
 
Join Date: Dec 2005
Posts: 1,574
Thanks: 235
Thanked 345 Times in 206 Posts
Quote:
Originally Posted by dwg
quick note, the new submit.php file you posted has '\' slashes instead of '/', so users on *nix probably still get the error message. I changed mine to '/' and everything shows correctly.
Thanks! I've fixed my version and reposted it above.
__________________
- Ash
Reply With Quote
  #9 (permalink)  
Old 04-22-2006, 09:29 PM
New Pligger
 
Join Date: Apr 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
I registered so I could download that file...but it won't let me download it - it just keeps asking me to log in
Reply With Quote
  #10 (permalink)  
Old 05-19-2006, 02:00 AM
New Pligger
 
Join Date: Mar 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
thank u very much AshDigg u solved a prg of many ppls but can u tell us what did u changed in the code concept.
Reply With Quote
Reply

Thread Tools
Display Modes
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Similar Threads
Thread Thread Starter Forum Replies Last Post
Image Upload - Blank Confirm details, step 3 of 3 rito807 Modification Tutorials 1 02-26-2008 01:41 PM
Error on Confirm details, step 3 of 3 graphicsguru Bug Report 0 10-16-2007 08:33 AM
confirm details step 3 - issue move55 General Help 3 02-09-2007 09:33 AM
Confirm details, step 3 of 3 Problem Rushster Bug Report 2 05-07-2006 03:37 PM
confirm details, step 3 of 3 DeathfireD Bug Report 3 04-26-2006 09:16 PM


Search Engine Friendly URLs by vBSEO 3.2.0