Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter patient

    (@patient)

    Hi donncha

    The document root is correct in phpinfo() – just “appears” that 1&1 doesn’t carry the proper value in %{DOCUMENT_ROOT} in htaccess. Is it possible to construct the proper value from any other other variables available in htaccess?

    Thanks Kafkaesqui

    Works a treat.

    patient

    (@patient)

    Thanks for the code Kafkaesqui. Unfortunately this doesn’t work for me (v2.0 – installed your code in sidebar). I get the following error:

    Warning: Invalid argument supplied for foreach() in /homepages/45/d155446623/htdocs/xxxxxxx/blog/wp-content/themes/warmup_allsidebar/sidebar.php on line 46

    I have also checked my database and although wordpress can differentiate Pages from Posts without problems the field “post_type” is blank in all cases.

    The field “post_parent” is not blank being either 0 or the parent ID.

    Your help would be appreciated.

Viewing 3 replies - 1 through 3 (of 3 total)