1
tonymac
Wordpress module problem
  • 2005/8/7 2:53

  • tonymac

  • Just popping in

  • Posts: 5

  • Since: 2004/11/4


I am getting this error when I try to edit a post, or create a post through WordPress Module (on XOOPS 2.2 hotfixed).

Quote:
"You cannot update Database contents.(HTTP_REFERER is not valid site.)"


Searching all of the Wordpress files, I have narrowed this error down to the second part of the wp_refcheck function (below) in wordpress\wp-includes\functions.php. Unfortunately, I do not know what this function is doing, and why this is failing. Can any one give me a hint?


function wp_refcheck($offset ""$redirect true) {
    global 
$siteurl;
    
$ref = isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : $_ENV['HTTP_REFERER'];
    if (
$ref == '') {
        if (
$redirect) {
            if (
defined('XOOPS_URL')) { //XOOPS Module mode
                
redirect_header($siteurl1"You cannot update Database contents.(Could not detect HTTP_REFERER)");
            } else {
                
header("Location: $siteurl");
            }
        }
        return 
false;
    }
    if (
strpos($ref$siteurl.$offset) !== ) {
        if (
$redirect) {
            if (
defined('XOOPS_URL')) { //XOOPS Module mode
                
redirect_header($siteurl1"You cannot update Database contents.(HTTP_REFERER is not valid site.)");
            } else {
                
header("Location: $siteurl");
            }
        }
        return 
false;
    }
    return 
true;
}



2
tonymac
Can't make changes to WordPress
  • 2005/7/31 3:25

  • tonymac

  • Just popping in

  • Posts: 5

  • Since: 2004/11/4


Just installed Wordpress ME, If i try to edit options, edit posts, create posts, edit the block, I get this:

You cannot update Database contents.(HTTP_REFERER is not valid site.)

I don't understand what this means... Help?



3
tonymac
Different Blocks for different RSS feeds
  • 2004/12/7 17:47

  • tonymac

  • Just popping in

  • Posts: 5

  • Since: 2004/11/4


I am using the Headlines module that comes with XOOPS 2.0.7, and would like to put my RSS feeds into different blocks, that I can place on different parts of the page or different pages entirely. Is this what is referred to as "cloning"? Either way, is this something that is easily achievable? Is this a matter of just defining custom blocks? if so, how do I go about this?

Thanks.



4
tonymac
Uploader Module
  • 2004/11/4 23:41

  • tonymac

  • Just popping in

  • Posts: 5

  • Since: 2004/11/4


Let me preface this by explaining my ultimate goal. I want a module (or combination of) that I can use to upload files and assign a category to (or have the category autoassigned based upon the subfolder that the file exists in. I am using Uploader right now, and I really like that it has english language support and is easy to use for both uploading and downloading. Other modules I have looked at either were to cryptic to configure (downloadse) or the lack of english language support (upanddown).

My question regarding Uploader is if there is anyway to not group files by upload date, and even to add categories?

Other than that, can anyone recommend a module (or combination of) that meets the goals I indicated above?



5
tonymac
Re:WF-Downloads review
  • 2004/11/4 23:31

  • tonymac

  • Just popping in

  • Posts: 5

  • Since: 2004/11/4


edit: never mind, I found a link to the WF modules site.




TopTop



Login

Who's Online

221 user(s) are online (158 user(s) are browsing Support Forums)


Members: 0


Guests: 221


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits