Tangler Discussion Forums

Discuss

Topics

Click a Topicto start discussing

    Hi Dan,

    I have the AWH theme the link visit site is working perfect, but it redirects me to wordpress root. Also I was reading a lot here in the forum and I also cannot find the Visit Site Box in Posts.

    it show some error in rs_init funtion on the line where

    add_action tells the wp to include the Visit Site Box in the posts.

    Thanks

    2009-06-30 12:05:52.0

    What is the error message? You might want to e-mail me for faster help as I only visit the forum once a day or so.

    2009-06-30 20:43:36.0

    here is the error message:

    Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'wprs_add_aff_box' was given in C:\wamp\www\wp-includes\plugin.php on line 339 

    2009-07-01 02:54:57.0

    btw I am using 2.8 wp

    2009-07-01 02:58:03.0

    wprs_add_aff_box() is in the same file as the add_action that calls it. Maybe you should try re-uploading the plugin to make sure nothing got corrupted.

    2009-07-01 10:31:33.0

    Dan, I've looked up in the review-site.php but as I can see there is no wprs_add_aff_box() function. All the others are ok, the visit_site_link() function is there, also in the template the <?php visit_site_link('Visit this host') is here but i cannot see the funtion you mentioned.

    It would be nice if write the function here because I don't want to go in risk to set all up from the beginning if something goes wrong by my mistake:)))

     

    Cheers,

    Spirko

    2009-07-01 11:27:28.0

    I just redownloaded the wpreviewsite.zip from the website, wprs_add_aff_box is on line 262. If it's not in your file, you have a corrupted file somehow or deleted some of the code. Either way, redownload it using the link in your receipt e-mail and upload it to your site again.

    2009-07-01 17:49:28.0

    Hi Dan,

    Yes thank you, It works now. I don't know what could have happen, but now is OK;)

    Have a nice Day.

    2009-07-02 01:22:57.0
To send a message, Join Now (it's quick and free) or Sign In
Edit Topic
Delete Topic
Are you sure you want to delete the topic