TinyPortal

Development => Support => Topic started by: Joramilea on October 16, 2006, 07:17:22 PM

Title: Article not saving
Post by: Joramilea on October 16, 2006, 07:17:22 PM
I figured out how to get my page into and article but I had to edit the code a bit to fix some problems.
Now when I go to save the article it won't save.  Any idea's why?

I have even closed the window I was working in thinking it may have stopped responding and opened my site up in a new window.  same thing.. it won't save.
Title: Re: Article not saving
Post by: G6Cad on October 16, 2006, 07:29:20 PM
With or with out The editor, and if you use Editor, what editor have you wet to use there ?
Title: Re: Article not saving
Post by: Joramilea on October 16, 2006, 07:38:33 PM
Lets hope I understand what you are asking.

I went to the admin > Article Manager > Add then pasted in my text <send>

Found errors in the article and went back to admin > article manager then clicked on the edit button for the article I am trying to redo.

I think it's a code issue here.  I may have been trying to use some coding in my article that TP doesn't support. 

<form><p>
      <textarea class="codecontainer" rows="7" name="S1" cols="100" wrap="virtual"><table cellspacing="0" cellpadding="0">
    <tr>
        <td align="center" background="picture.jpg"><img src="transparent.gif" width="500" heigth="318" align="Top"></td>
    </tr>
</table></textarea></p>
    </form>


Cause I cut the code minus the <form> info </form> and it works fine now.  go fig

*edit* DUH! the form tags are java arent' they?  and java doesn't work in articles?
Title: Re: Article not saving
Post by: G6Cad on October 16, 2006, 07:42:56 PM
Exactly ;)

But java will work if you turn the editor OFF and add the code manually with out the editor precent :)
Title: Re: Article not saving
Post by: Joramilea on October 16, 2006, 07:46:46 PM
Quote from: G6 on October 16, 2006, 07:42:56 PM
But java will work if you turn the editor OFF and add the code manually with out the editor precent :)

ok gotta see if I can figure it out.  I like the way this shows code on a website.
Title: Re: Article not saving
Post by: JPDeni on October 16, 2006, 07:48:10 PM
I know what the problem is. It's the </textarea> tag. You can't use it. The field where you put your html is a textarea itself and when it sees </textarea>, it thinks you want to close the editing field. (Not explaining very well, but it's a bit complicated.) I've got around it by making my articles that have textareas into php articles and using a variable for the end textarea tag. It's the only thing I've been able to figure out that'll work.

It's not really hard to do, if you'd like me to walk you through it.
Title: Re: Article not saving
Post by: Joramilea on October 16, 2006, 07:52:36 PM
ooo you said the evil coding word... php!   :o

hehe Well, I think I am going to try to get all my code tutorials up without showing the code.
then I will bug for help on getting the code to show on the page in a "cool" way. 

Thank you for the quick replies and help!
Title: Re: Article not saving
Post by: Joramilea on October 16, 2006, 07:59:16 PM
sorry to bug but do iframes work in articles?

Because I got my article up on the page.  Then went back in to edit in the html code and when I sent the article to be saved I got an error..

QuoteForbidden
You don't have permission to access /index.php on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Title: Re: Article not saving
Post by: JPDeni on October 16, 2006, 08:04:38 PM
Yes, other people have used iframes quite a bit. I don't know anything about them myself, but just the other day someone (akulion, I think) wrote a nice little tutorial about using them. Or I could be insane, which is always possible.  :uglystupid2:
Title: Re: Article not saving
Post by: Joramilea on October 16, 2006, 08:11:19 PM
when i did a search for the iframe tutorial, i found a post where akulion posed this
here is the iframe tutorial: http://www.tinyportal.net/smf/index.php?topic=9292.0
but it doesn't work.   :'(
Title: Re: Article not saving
Post by: JPDeni on October 16, 2006, 08:20:46 PM
Oh, dear. I'm afraid I can't help you with the iframe. But I can ::cackling my best Wicked Witch of the West laugh :: help you with the php. And your little dog too!!!!
Title: Re: Article not saving
Post by: Joramilea on October 16, 2006, 09:21:10 PM
oh no not my little dog! (well she isn't so little anymore)

I would love to learn some php.  Just gotta get by this issue I am having now with not being able to save new articles. (that evil error shows up saying i am forbidden!)  I called my husband to see if it was a server issue and he said he had the same problem and had to do some twinking wiwth his article to get it to post right.  He thinks it could be a bug or the way we have some setting in our TP.

Title: Re: Article not saving
Post by: JPDeni on October 16, 2006, 09:22:48 PM
How strange. That's one I haven't seen before.

Well, we're here and we'll do whatever we can to help.
Title: Re: Article not saving
Post by: Joramilea on October 16, 2006, 09:50:35 PM
I think it may have to do with the fact that I have iframe code in one of the atricles.

The other pages I put up with just html code went up fine with no FORBIDDEN errors.

it's gotta be a coding things.  So off to just moving over the rest of the html only pages....

**EDIT**

I just try putting up a normal html again .. no special coding and i got that forbidden error.  :tickedoff:

This is driving me crazy  :uglystupid2:

Title: Re: Article not saving
Post by: G6Cad on October 17, 2006, 07:24:30 AM
Sure sounds like it's something with the server settings that needs to be checked