Members: 16,996
Threads: 38,866
Posts: 159,475
Online: 49

Newest Member: Kl_broka@rediffmail.com


Odoo.tv - Outdoor Television


Sedo - Domains kaufen und verkaufen das Projekt mambers.com steht zum Verkauf Besucherstatistiken von mambers.com etracker® Web-Controlling statt Logfile-Analyse
Old 29.06.2005, 08:53   #1 (permalink)
Baby Mamber
 
Join Date: Jun 2004
Posts: 16
subnet_rx is on a distinguished road
Default Errors in KL_PHP Mambot

I'm trying to either block-random or block-random-enhanced in my content using the kl_php mambot. I'm getting several errors that I have noticed many other people have gotten, but I can't decode what the solution was that they used.

Here is the code:
Code:
{kl_php}include('/gallery/block-random.php');{/kl_php}


Here are the errors:

Warning: Unknown(/gallery/block-random-enhanced.php): failed to open stream: HTTP request failed! HTTP/1.1 401 Authorization Required in /mambots/content/kl_php.php(65) : eval()'d code on line 1

What does this mean?
subnet_rx is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 29.06.2005, 13:07   #2 (permalink)
Expert Mamber
 
walb's Avatar
 
Join Date: Oct 2004
Location: Hack City, Earth.
Posts: 453
walb will become famous soon enough
Default Re: Errors in KL_PHP Mambot

Try this example

{kl_php}
include ("http://www.yourdomain.com/gallery/block-random.php");
{/kl_php}

Should work.
__________________
A bugfree program is a deleted one! (Confucius.)
walb is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 29.06.2005, 18:04   #3 (permalink)
Baby Mamber
 
Join Date: Jun 2004
Posts: 16
subnet_rx is on a distinguished road
Default Re: Errors in KL_PHP Mambot

that's actually exactly like I had it. I just took out the domain for the example. Have you actually got this working on your site?

Last edited by subnet_rx; 29.06.2005 at 21:20.
subnet_rx is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 29.06.2005, 19:12   #4 (permalink)
Expert Mamber
 
walb's Avatar
 
Join Date: Oct 2004
Location: Hack City, Earth.
Posts: 453
walb will become famous soon enough
Default Re: Errors in KL_PHP Mambot

Yes, it works on my site!
__________________
A bugfree program is a deleted one! (Confucius.)
walb is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 29.06.2005, 21:27   #5 (permalink)
Baby Mamber
 
Join Date: Jun 2004
Posts: 16
subnet_rx is on a distinguished road
Default Re: Errors in KL_PHP Mambot

well, I cut and pasted your code and am getting the same error, except now it's on Line 2 instead of Line 1. That looks like some type of permission issue, but I can't find it.

Code:
Warning: Unknown(/gallery/block-random.php): failed to open stream: HTTP request failed! HTTP/1.1 401 Authorization Required in /mambots/content/kl_php.php(65) : eval()'d code on line 2

Warning: Unknown(/gallery/block-random.php): failed to open stream: HTTP request failed! HTTP/1.1 401 Authorization Required in /mambots/content/kl_php.php(65) : eval()'d code on line 2

Warning: (null)(): Failed opening '/gallery/block-random.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /mambots/content/kl_php.php(65) : eval()'d code on line 2
subnet_rx is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 29.06.2005, 22:57   #6 (permalink)
Expert Mamber
 
walb's Avatar
 
Join Date: Oct 2004
Location: Hack City, Earth.
Posts: 453
walb will become famous soon enough
Default Re: Errors in KL_PHP Mambot

Do you have the component com_gallery installed?
__________________
A bugfree program is a deleted one! (Confucius.)
walb is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 30.06.2005, 00:26   #7 (permalink)
Baby Mamber
 
Join Date: Jun 2004
Posts: 16
subnet_rx is on a distinguished road
Default Re: Errors in KL_PHP Mambot

yep, it's embedded into my site perfectly. I even have a random image module installed that uses block-random.php and it works fine also.
subnet_rx is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 30.06.2005, 10:25   #8 (permalink)
Expert Mamber
 
walb's Avatar
 
Join Date: Oct 2004
Location: Hack City, Earth.
Posts: 453
walb will become famous soon enough
Default Re: Errors in KL_PHP Mambot

Sounds a bit like my configuration.
With direct access (absolute path) it did not work from content.
It aborted somewhere in includes\Cache\Lite\Function.php, which I didn't understand.
A relative path include worked from content though. URL fopen wrappers must be enabled in PHP, which is normally default.

You have access to the errorlog of apache?
Sometimes it holds more information.
__________________
A bugfree program is a deleted one! (Confucius.)
walb is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 30.06.2005, 18:47   #9 (permalink)
Baby Mamber
 
Join Date: Jun 2004
Posts: 16
subnet_rx is on a distinguished road
Default Re: Errors in KL_PHP Mambot

I finally got it to work. It was the fact that I had a password on the directory. It wasn't affecting any other module except kl_php
subnet_rx is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Trouble Installing and Using DocMan List Mambot Ginni Mambots 0 29.03.2005 19:30
mambot - OsCommerce ossi55 Mambo 4.5.1 'How Do I' Questions 2 21.01.2005 11:55
Set precondition for execution of a mambot suat Mambots 0 28.11.2004 15:16
QuickDown Mambot für Mambo 4.5.1 wolfi Neuigkeiten 0 11.10.2004 18:50
AdSense Mambot veröffentlicht descartes Mamboreport Ankündigungen & News 0 29.09.2004 12:32


All times are GMT +2. The time now is 15:36.

Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
A vBSkinworks Design
© Copyright 2004-2008 by Arthur Konze Webdesign.