Log in

View Full Version : Hacks not updating


Skivey
02-01-2012, 06:56 AM
I changed a hack so that an automated post that was made had new information. Its done via a php file and pulled in.

It seems the update I have done isnt working yet. When I check the file via FTP its different than whats being displayed in the forum.

Is there someting I need to do to make the forum update this file?

Matt

kh99
02-01-2012, 02:30 PM
The only thing I can think of is that we use a cache for php files, so when something is changed the cache needs to be flushed.

Skivey
02-01-2012, 05:27 PM
ok ill try that, thanks :)

--------------- Added 1328122187 at 1328122187 ---------------

sorry if i sound thick, i flushed the post cache? But it seemed not to do anything. Am I dong the riht thing? I searched google for flushing the cache, but didnt really get any help from google.

Simon Lloyd
02-01-2012, 06:08 PM
Maybe a link to the hack or some more information on it would help :)

Skivey
02-01-2012, 06:28 PM
I cannot do a direct link, but I can send you the file if you like?

Simon Lloyd
02-01-2012, 06:32 PM
Sure but if you do please be aware that i may post it of excerpts of it here so that folk can help you (us :)) sort out your issue :)

PM me for email address

kh99
02-01-2012, 06:38 PM
ok ill try that, thanks :)

--------------- Added 1328122187 at 1328122187 ---------------

sorry if i sound thick, i flushed the post cache? But it seemed not to do anything. Am I dong the riht thing? I searched google for flushing the cache, but didnt really get any help from google.

Well, you may not have the kind of cache I was talking about, it was just an idea. You'd probably already know about it if you did.

But when you change the script that auto-posts you're not expecting the existing posts to change, right?

Skivey
02-01-2012, 06:41 PM
nopes, its the new posts that arent changing.

Im happy for the code to be put in here ill send both pieces.

Ill warn you its a mess, it was programmed by someone who didnt have a clue... I only took the website over in December.

Simon Lloyd
02-01-2012, 09:04 PM
@kh99, im looking at the files and its only text that has changed in $bodytext, i think the file isn't being uploaded to the correct place which is why it's assumed it isn't working :)

kh99
02-01-2012, 09:33 PM
I didn't ask for the files. But that sounds like a good possibility - we all do that on occasion.

Skivey
02-01-2012, 11:41 PM
ye thanks for checking guys, the problem is that the old coder put not only the php files for messaging but the identical files in a plugin for posting the same information.

As I said to Simon, all I have to do now is fix the other 200 files.

Thanks all for your time.