Log in

View Full Version : Please Help!!! Post count NOT Updating


Scalemotorcars
02-11-2009, 03:44 PM
My members post count is not updating. Ive tried rebuilding all the counters, tried manually running all the scheduled tasks and still noting. My members post counts are stuck.

Also I noticed that all the scheduled tasks are also stuck. They are not creating logs even with the log turned on.

This is a serious problem with my site. If the post count doesn't work many features are disables.

Please help I'm out of things to try.

Update: I turned off all my hacks and ran the counters and tasks again. No change. I looked in the admcp and and the post counts are not updating there either.

Heres a link to one of the page. Take a look at user Ard , he's clearly posted several times and the counter is not changing.

http://www.scalemotorcars.com/forum/off-topic/2547-bugatti-lovers.html

Is this on my end only or ???

Lynne
02-11-2009, 04:21 PM
Your cron jobs should be running. This was in the footer (please fix the copyright notice unless you have purchased a brand free license):
<div align="center">
<div class="smallfont" align="center">
<!-- Do not remove this copyright notice -->
`
<!-- Do not remove this copyright notice -->
</div>

<div class="smallfont" align="center">
<!-- Do not remove <img src="http://www.scalemotorcars.com/forum/cron.php?rand=1234376349" alt="" width="1" height="1" border="0" /> or your scheduled tasks will cease to function -->
<img src="http://www.scalemotorcars.com/forum/cron.php?rand=1234376349" alt="" width="1" height="1" border="0" />
<!-- Do not remove <img src="http://www.scalemotorcars.com/forum/cron.php?rand=1234376349" alt="" width="1" height="1" border="0" /> or your scheduled tasks will cease to function -->


</div>
</div>


Have you checked your Forums to make sure you have post count turned on in them?

Scalemotorcars
02-11-2009, 04:34 PM
The phrase is there in the template. <div class="smallfont" align="center">
<!-- Do not remove this copyright notice -->
$vbphrase[powered_by_vbulletin]
<!-- Do not remove this copyright notice -->
</div>


Check another language and it shows.

Maybe something is missing in php. What file is that in and Ill look there.

Didnt see where to turn off post counts. Where do I look?

Lynne
02-11-2009, 04:46 PM
Check the phrase then. Maybe someone accidentally edited it and put in just the apostrophe.

For post counts, look in Forum Manager > select the forum to edit > Count Posts Made in this Forum Towards User Post Counts > Yes

Scalemotorcars
02-11-2009, 04:51 PM
I FEEL LIKE A TOTAL NOOB!!!!:o:o:o

I'm somewhat embarrassed and will now go hide my head in shame.

Thank you Lynne. You totally saved the day. Your the best. :up:

Ill check your PM on the other issue and get it fixed asap.. :D

--------------- Added 1234378635 at 1234378635 ---------------

Check the phrase then. Maybe someone accidentally edited it and put in just the apostrophe.


All fixed. It was missing in the English phrases.

Thanks again for the quick help. :D

Lynne
02-11-2009, 04:58 PM
Glad you got it all figured out. :)

Scalemotorcars
02-11-2009, 05:25 PM
One last thing,

Any ideal why the scheduled tasks are no logging. I have them set to create a log each time they run but unless I run them manually they don't do it and even then I need to open the task then close it, .... then run the task to get the log created.

The dates don't update on their own at all without doing this. ????

Lynne
02-11-2009, 05:52 PM
Is the Next Time showing correctly in your Scheduled Tasks manager?

Scalemotorcars
02-11-2009, 07:01 PM
No its not. Its not adding the next time to run the task. (only chages the date if I click edit, save) (only adds log if I do this first then run manually) otherwise its sits there. All tasks are set to log so thats not it.

Hasn't worked correctly for almost a year.

I had a fairly major crash in early 2007 and it only seemed to work for a short time after or around that same time. Hasnt updated or added a log since unless I do it manually.

I didn't bother with it since the site seemed to work fine but I realize thats not the way it should work so I want to get it back to normal.

At that time I was 3.5.6 (I think) Running 3.7.3 now. Tons of work so I'm not ready to update to 3.8 just yet.

Got your PM. Will do.

Lynne
02-11-2009, 07:13 PM
Have you looked in your error_logs? Maybe it will say something in there about why they aren't running. Maybe it's a permission thing... what are the permissions on your cron folder and on the cron scripts inside of it? My cron scripts are 644 and 755 (some of each) and my cron folder is 755.

Scalemotorcars
02-11-2009, 07:24 PM
Where's the error log? Ill check cron permissions now.

Lynne
02-11-2009, 07:28 PM
You may have to ask your host about where the apache error_log is. Mine is in my main directory in the folder called /logs (above /public_html).

Scalemotorcars
02-11-2009, 07:39 PM
Cron folder was set at 745 and all sub files are 644. Changed the Cron folder to 755. Do I just wait and see now?

Ill look for the error file.

Lynne
02-11-2009, 07:46 PM
Do you have a Scheduled Tasks who's time is set to come up soon? You could wait and see if that goes. Or, you may need to kick start them by manually running one. After you do, see if the times get set to be coming up soon.

Scalemotorcars
02-11-2009, 07:50 PM
Got one coming up in about 30 minutes. Ill post back the results. Still looking for the error log.

All I found so far was access logs and that one is 4 months old.

--------------- Added 1234391239 at 1234391239 ---------------

No change. Still didnt update the log or the next log time.

Lynne
02-11-2009, 08:33 PM
error_logs should be in the same folder as the access_logs. It sounds like for some reason you don't have them turned on.

So, it said, for instance 2:30 for the Next Time the job was supposed to run. Then, 2:30 came and went and the job didn't run? Did it get a new Next Time put next to the job?

Also, you said Log Entries is set to Yes for each job? And do they have a Log Phrase entered? Is the Filename path valid?

It looks like you have SEO.... are you sure that isn't messing with this (because of the whole rewrite url thing)?

Scalemotorcars
02-12-2009, 12:41 AM
Nothing changes and the time didn't update to the next time to run the task. Still says 6.05 pm (today) for the next scheduled task and its now 9.38pm so thats not working. I'm referring to the hourly clean up task.

Lets back track a little if thats OK. Ive never set up a task and these were always assumed to be default setting. So heres a screen shot of the Hourly Cleanup.

Does it look correct to you? (File structure is default and the file refereed to is in the cron folder with a 644 permission)

Lynne
02-12-2009, 04:35 AM
It looks the same as mine.

Any way to disable your seo (including the htaccess file) and see if that is the problem?

Dismounted
02-12-2009, 04:42 AM
Where did you look for the scheduled task logs? Are you entering the dates correctly?

Scalemotorcars
02-12-2009, 01:12 PM
It looks the same as mine.

Any way to disable your seo (including the htaccess file) and see if that is the problem?

Tried that, Seo was installed long after this problem started. Nearly 7 months later.

Where did you look for the scheduled task logs? Are you entering the dates correctly?

Under, Scheduled Tasks > Scheduled Task Log > Scheduled Task Log Viewer> All.

I haven't changed any of the default info. (see photo above of 1 hour cleanup)

If there needs to edits can you explain? Thanks

Heres a shot of the Task Manager taken a few minutes ago,. As you can see the dates are of the last time I manually ran them.

Lynne
02-12-2009, 02:11 PM
I think you may need to run each of them manually to get the whole thing kick started. If the 'next' one is waiting for Jan 03 or last year, it's never gonna get run and so the next one will never get run, etc. So, run each of them manually. (And, turn them off if you don't need them - like the CCBill Reversal Check? and the Poster Robot? maybe the Event Reminder?)

Scalemotorcars
02-12-2009, 03:03 PM
Cant seem to get the Attachment Views task to run.

I checked the file permissions and made sure they were at least 644.

All I get is that IE cant display that page. The file is in the cron folder.

Do I need this task? Says it only works if the Delayed attachments are enabled but I didn't see that setting anywhere.

--------------- Added 1234461366 at 1234461366 ---------------

I disabled...............
Attachment Views
CCBill (I do have subscribers using paypal) this doesn't effect that does it?
Event Reminder
Rss Poster Robot
Restore Temp Banned users. (we don't temp ban so its not really valid)

Ran all the rest manually to update the time and so far it seems to be working again.

The only task that refused to run is the Attachment Views. Should I replace the php file with default? Or just leave it.

We do have allot of attachments, nearly 5000 in the database. Is there a way to download all of them to my PC and retail them on site. Never had the nerve to try changing them. :o

--------------- Added 1234484292 at 1234484292 ---------------

I tried this https://vborg.vbsupport.ru/showpost.php?p=1560727&postcount=24

With no luck. Attachment views task still didn't work. I just get a IE can find page error is I run it manually.

--------------- Added 1234529721 at 1234529721 ---------------

Anyone