TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,973
  • Latest: NonStop
Stats
  • Total Posts: 196,231
  • Total Topics: 21,353
  • Online today: 515
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 175
  • Total: 175

Posts not posting

Started by evilicy, May 07, 2008, 02:40:23 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

evilicy

I'm using smf 1.1.5 and tp 1.0.5
I have my site set to default for theme (although I do have a custom theme installed, does it matter?)

Okay here is my problem when I go to make a new topic or reply they don't post. When I make a new thread it just returns a blank page and when I try to reply to a thread it just returns me to the thread without the reply posted.

This does seem to be an issue with tp because when I uninstall tp the problem is fixed.

My error log is spammed to hell with this message:

8: Undefined variable: bullet
File: /home/content/blahblah/html/Themes/default/TPortal.template.php (eval?)
Line: 516


JPDeni

Didn't I help you with something earlier today that included a $bullet variable?

evilicy

Quote from: JPDeni on May 07, 2008, 03:00:11 AM
Didn't I help you with something earlier today that included a $bullet variable?

Nope you have the wrong guy but saying that I guess there is an existing topic on the subject regarding something similar I am assuming that I must of overlooked so I'll go try to find it  and hopefully an answer is there ;p

If not I will be back to bug you! :D

Thanks

evilicy

Well after diggin again the only related topic to my problem I could find with a reply was

Quote from: G6 on April 19, 2008, 06:47:34 PM

Have you checked the steps for the manuall install guide ?
Have you made sure all the code is added correctly ?
Are you sure you have all the files added correctly

Which honestly wasn't much help to me and that was just regarding a similar error which also doesn't tell me if it has anything to do with my posting issue. But it did inspire a solution;

revert revert revert and wait for stable....  :idiot2:

PS if that's you in your avy JPDeni your hawt!  :-*

JPDeni

That picture was me 38 years ago. I'm probably not so "hawt" now. :)

Did it ever work correctly? If so, what did you do before it stopped working?

evilicy

#5
Okay after having my lil hissy fit and banging my head off my key board for some time I decided to go take another look at things and I think I might of found the bug.

I came to notice that some of the boards did indeed work. The ones that worked I had a upper block I had set to show on them.

So I thought what the heck it's worth a try and set the block to show on all of the boards and sure enough they began to work.

So I figure it probably something to do with the code in the block so I delete it completely only to find out that now my posts will not post again.......

So I try to add another block upper block on all of my boards again but still they do not work

SOOOOOOOOO I readd the original block with the code to all of the boards and they all work again now..... why? I still do not know but I do know as long as that block is there the boards work....

Oh and here is the thing that really baffles me the problem has nothing to do with the actual code in the block because what I failed to mention earlier is I had the same problem before but I thought it had to do with an error when I was trying to import messages into the database BUT I ended up deleting everything and dropping the database and doing another fresh install. I posted on the new install and it worked so I thought it was fine(before I installed tp) only to find out later the problem was back again hence this post :P oops and yeah the prior install didn't even have that block code on it.

Honestly at this point I don't give two poops. I'm just glad my posts work again but thought I'd mention everything incase I found some weird bug.

Also the errors in my log after a bunch of dry reading I came to realize were unrelated.


Zetan

This may or may not work, and may or may not have anything what-so-ever to do with TinyPortal, which is quite likely by what you have posted so far.

I'm thinking this will not work as you haven't posted an internal error message, but it's worth a shot.

We had a similar problem when posting and often would end up at an internal server error page.

adding this to my .htaccess file solved all my problems we had when posting, with exception to 1 theme in a board and that is an entirely different problem.


#### Filters ####
SecFilterEngine Off
SecFilterScanPOST Off


I'm not expecting it to work for your site...

evilicy

Thanks Zin but I finally did figure out the problem.

It was infact code in a block that was messing everything up just not the one I thought it was since I been using the same block code for a long ass time with out issues. I guess the other code in the original block I mentioned was some how blocking the other? That's why the boards worked when I had it there. Just a guess... only way I can make sense of it.

Anyways the actual code that was messing everything up was this


<div align="center">
<form name="jump">
<select name="menu">
<option value="">Quick Submit</option>
<option value="">- - - - - - - - - -</option>
<option value="http://www.darkvoid.org/index.php?action=post;board=7.0">Dark Poetry</option>
<option value="http://www.darkvoid.org/index.php?action=post;board=8.0">Romantic Poetry</option>
<option value="http://www.darkvoid.org/index.php?action=post;board=9.0">Erotic Poetry</option>
<option value="http://www.darkvoid.org/index.php?action=post;board=10.0">Spiritual & Nature</option>
<option value="http://www.darkvoid.org/index.php?action=post;board=11.0">Epic Poems</option>
<option value="http://www.darkvoid.org/index.php?action=post;board=12.0">Short Forms</option>
<option value="http://www.darkvoid.org/index.php?action=post;board=16.0">Rap Realm</option>
<option value="http://www.darkvoid.org/index.php?action=post;board=18.0">Song lyrics</option>
<option value="">- - - - - - - - - -</option>
<option value="http://www.darkvoid.org/index.php?action=post;board=17.0">Ungrouped</option>
</select>
<input type="button" onClick="location=document.jump.menu.options[document.jump.menu.selectedIndex].value;" value="GO">
</div>


A simple pull down menu.  I finally caught on when I was looking at the menu= in the url it took me too of the blank page.

http://www.darkvoid.org/index.php?menu=&topic=0&subject=test&icon=xx&message=test&notify=0&lock=0&sticky=0&move=0&attachment[]=&post=Post&additional_options=0&sc=ff0d082b36903ce062a14d9c69c92c85&seqnum=9985047

Anyways problem solved :)

JPDeni

Cool! As much of a pain it is to debug stuff, it's probably the most effective learning experience in programming. And it's so satisfying when you find it. :D

This website is proudly hosted on Crocweb Cloud Website Hosting.