Topic: Need help fast please

I messed up, I tried to add to the admin>options>features>add additional menu items this code

9 = <form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but21.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
<input type="hidden" name="encrypted" value="-----BEGIN ***************">
</form>

Not only does it  not work smile it made every button on the forum that goes to the redirect page redirect to paypal.com.

you cant post delete or save changes or anything it just sends you to paypals site. Thats why i cant delete the code in the menu items and save it cause it just sends me to paypals site insted of saving.

HAHA please help me on this one

www.wvheavyhitters.com if you need to see it in action

Thanks!

Re: Need help fast please

Here's what you should do.

Open up cache/cache_config.php and look for o_additional_navlinks. Edit that field and remove your paypal form thing. Then go to admin/options and edit it there as well (and submit).

"Programming is like sex: one mistake and you have to support it for the rest of your life."

3 (edited by Kanawha Design 2006-09-04 09:41)

Re: Need help fast please

I have done that, it makes the site not work, all I get is a white page and it says done on my browser just blank.

I have managed to remove the form from the database under the config table but i dont know why it would even show in the cache anymore now.

I think the problem is that all the forums forms post to paypal.com now instead of the .php page that it should post to?

Re: Need help fast please

i have done a search with phpmyadmin on the database and found 2 places where you find paypal under the "search words" table. should i delete these or change them to something?

Re: Need help fast please

fixed it! smile

future reference:

you have to delete all the extra menu items and replace them with "'0'," and save in the cache/cache_config.php

overwrite and then the site will work again, go to admin>options>menu items and apply your old links back to it and notice that your save changes button will work.

thanks

it was your advice that was right in the first place, i just wasnt doing it right.

Re: Need help fast please

Edit: Nevermind smile I just saw your new post.

If you get a blank page, that probably means you didn't edit the cache file properly. Try setting o_additional_navlinks to NULL. It should looks something like this:

...
'o_quickjump' => '1',
'o_gzip' => '0',
'o_additional_navlinks' => NULL,
'o_report_method' => '0',
'o_regs_report' => '0',
...
"Programming is like sex: one mistake and you have to support it for the rest of your life."

Re: Need help fast please

thx maybe it will help someone else someday. for my hour worth of trouble and yours. soon as donations come in i will donate a % back to you.