Jump to content

moylin

Members
  • Posts

    6
  • Joined

  • Last visited

Profile Information

  • Gender
    Not Telling

moylin's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. This type of forwarding isn't to a new page, just to the controler you want, so you'd forward back to the controller you used to display the form, and you'd pass it your already managed form object to display. This will keep the processing URL the same, but allow the form to be rendered again without a redirect and saving all the info in the session.
  2. Check if Magic quotes GPC is on, if you switched to a shared host, a lot of them seem to like to leave it on. in the php.ini add magic_quotes_gpc =0 you can confirm if this is on by checking phpinfo(). if you have trouble with that, you can always stripslashes. edit: added extra note.
  3. Did you try the updated code I put in with the get_permalink() instead of the_permalink. the_permalink is not designed for what you're trying to do, you have to use get_permalink instead. When i first pasted teh example, i didn't know the difference but udpated it shortly after.
  4. Sorry, half asleep on this. Try <?php $obj=new shareCount( get_permalink() ); ?> or <?php $yourtempvar = get_permalink(); $obj=new shareCount($yourtempvar); ?> edit: switched to get instead of the_permalink, as the_permalink is designed to output the permalink address to the browser.
  5. Based on what you're wanting, it sounds like forwarding is what you're looking for. http://symfony.com/doc/2.0/book/controller.html#forwarding
  6. I'm gonna toss this out there. but is the domain different on 2nd implementation than the first? I know when i've integrated recaptcha, i've used a key combo for a specific test domain, and then moved it into a new domain and then it fails. Fix of course is to generate a new key that's global, or generate a new key for the specific domain in question.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.