News:

Join the Facebook Fan Page.

Main Menu

Youtube Mod Code

Started by kenso, February 23, 2011, 12:50:42 AM

Previous topic - Next topic

kenso

I have 3 duplicate codes of a old youtube mod in subs.php (see attached)  and I am getting hundreds of errors (also see attached) and  when I try to remove the duplicates I get parse errors. Could someone check it out and see where I am going wrong ? and yes it has been uninstalled. always appreciated guys :) RC4

Kenso
The Farmers and self-sufficiency forum
http://www.ozfarmer.com.au

kat

Three?

More like three hundred!!!

Try the attached.

kat

Oh, and please don't make duplicate posts.

I've killed the other one.

kenso

Sorry about that, for some reason it was hanging so i resubmitted... thanks for the code but didnt work still getting

Parse error: syntax error, unexpected ';', expecting ')' in /home/ozfarmer/public_html/forum/Sources/Subs.php on line 1599
The Farmers and self-sufficiency forum
http://www.ozfarmer.com.au

kat

That's odd.

That line's just this:

// Let mods add new BBC without hassle.
call_integration_hook('integrate_bbc_codes', array(&$codes));

You could try removing them, I guess.

How many mods do you have, installed?

If the answer's "None", or "Just a few", it might be worth you upgrading to RC5.

That'd probably cure this hassle.

Before you do that, read the pic in my sig, woncha? ;)

kenso

Thanks K@, Ok got rid ofthe youtube code it by upgrading to RC5 but have a problem with an old mod "SMF shop" still ghosting, I have been through all the code but cannot see ant instances of it, anyone had this problem? getting 1200 errors an hour. See attached
The Farmers and self-sufficiency forum
http://www.ozfarmer.com.au

kat

Blargh!!!

That bloody eval thing!!!

Sorry, man. A bit more work to do.

Can you go to Admin>Server settings and check "Disable evaluation of templates"?

Once done, can you empty your logs and see what new errors you get?

kenso

#7
Sorry for the Delay K, fixed it by a complete new reinstallation of the forum to RC5 only getting 1 new error now (about 6000 times a day)  :laugh: see below. Other than that alls good! Thanks for you help on that last thing.

Kenso
The Farmers and self-sufficiency forum
http://www.ozfarmer.com.au

kat

That error's got to be down to a mod install that's gone awry.

Can you attach Subs.php to your next post, so we can have a butcher's at it?

kenso

Sure, looks like that damed Pretty Urls again

Subs.php Attached  ;)
The Farmers and self-sufficiency forum
http://www.ozfarmer.com.au

kat

I think you may be right.

On the lines mentioned, there's simply no reference to "test", at all.

PrettyURLs may be pretty, but some of the hassles it causes are a real pain in the bum, sadly.

kenso

Oh well, thats how it goes, mabey someone else has solved this sometime?  ;) Thanks K
The Farmers and self-sufficiency forum
http://www.ozfarmer.com.au

kat

No sweat, mate.

Maybe, if you post in PrettyURL's support topic, pointing to this thread, here, they might have some ideas?


Advertisement: