Home arrow Forum
Mambo-SMF Configuration fread() error
  Welcome, Guest. Please login or register.
November 22, 2008, 07:11:16 AM
Home New Posts Search Calendar


Login with username, password and session length
Forum  |  MamboHacks.com  |  Mambo-SMF Integration 1.2.0 Support  |  Topic: Mambo-SMF Configuration fread() error « previous next »
Pages: [1] Go Down Print
Author Topic: Mambo-SMF Configuration fread() error  (Read 4636 times)
aravot
Jr. Member
**

Karma: +0/-0
Offline Offline

Posts: 89


test/test


View Profile WWW
Mambo-SMF Configuration fread() error
« on: March 31, 2005, 03:06:58 PM »

I am haveing the following error:

Quote
Warning: fread(): Length parameter must be greater than 0. in
/mywebsite.com/mabmo/administrator/components/com_smf/rdf.php
on line 66

Logged
cowboy
Administrator
Hero Member
*****

Karma: +30/-0
Offline Offline

Posts: 663



View Profile WWW
Re: Mambo-SMF Configuration fread() error
« Reply #1 on: March 31, 2005, 04:56:21 PM »

can you go to mambo cache directory and delete the ff:

index2.php?option=com_rss&feed=RSS1.0&no_html=ss1
mh_announcement.rdf
mh_mambo_smf_update.rdf

Then reload your admin page.
Logged
alex knith
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 4


View Profile
Re: Mambo-SMF Configuration fread() error
« Reply #2 on: April 08, 2005, 03:33:47 PM »

Hi!   Undecided

[img][/img]

It doesn't work, it's something about the time to live in rdf.php, on #34

if($age > $timeToLive)

if I say < the error becomes a warning on line 66,  about 0 value...
#66 $rdfData = fread($localFile, filesize($rdf));

even if I have deleted the content of the cahe directory, it creates
mh_mambo_smf_update.rdf with a strage timestamp : 01.01.2098 02:30 a.m.

talk ya later, I'll be around...

* error_m.jpg (61.16 KB - downloaded 53 times.)
Logged
cowboy
Administrator
Hero Member
*****

Karma: +30/-0
Offline Offline

Posts: 663



View Profile WWW
Re: Mambo-SMF Configuration fread() error
« Reply #3 on: April 08, 2005, 04:00:19 PM »

what is your php_info and platform?
Logged
alex knith
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 4


View Profile
Re: Mambo-SMF Configuration fread() error
« Reply #4 on: April 08, 2005, 04:07:16 PM »

server 2k3
Apache/2.0.52 (Win32) PHP/5.0.3
Logged
alex knith
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 4


View Profile
Re: Mambo-SMF Configuration fread() error
« Reply #5 on: April 10, 2005, 08:19:38 AM »

Hi !

I still have this problem...
could you tell me please how to solve this ?

I have :

Server 2k3
Mambo 4.5.2
smf 1.0.3
Apache 2.0.52
PHP/5.0.3
MySQL 4.0.23

related stuff - see above.

thanx.
Logged
cowboy
Administrator
Hero Member
*****

Karma: +30/-0
Offline Offline

Posts: 663



View Profile WWW
Re: Mambo-SMF Configuration fread() error
« Reply #6 on: April 11, 2005, 03:32:58 AM »

Alex,

Your backend problem is not really a showstopper. Your forum should be ok. I still haven't gone through this issue because I don't have a Server 2k3 testing platform.

How's your forum? Is it running without any problem?
Logged
alex knith
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 4


View Profile
Re: Mambo-SMF Configuration fread() error
« Reply #7 on: April 11, 2005, 03:57:09 PM »

Thanx a lot  ! at least u were replying me...  Smiley
I removed // If the file is too old, then we need to refresh it from the URL "feature" so, no more hot news... though

Anyway, I'll read all the comments here, on the forum, and on the forum.mamboserver  BUT there was no reply !!!! what else can I do ? it's "preety" hard coding inside even if I managed to hack a little bit some lines...

So, would u be kind and give me some mode hints :
- is it a well-known bug with posting images in the static content area ? due to the error in the mambojavascript.js with the _caption_position and _caption_align, and yes, my forum is ok.
Logged
quake4.be
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 1


View Profile
Re: Mambo-SMF Configuration fread() error
« Reply #8 on: April 15, 2005, 11:33:23 AM »

I have same problem with mambo 4.5.2 and i deleted alraeady those cache files - which mambo is creating again.

The login shows just a msg i should cfg the login.
So i cant use this bridge with the latest mambo Sad

I were able to install this bridge version
http://mamboforge.net/frs/download.php/5095/MOS_SMF_BRIDGEv3.12stable.zip
I did steps 1-4 of this installation and then had to extract step1 zip manually and upload the MOS_SMF.php into forum/Sources manually - now it looks liek its worky :-)

Any mybe you have to manually past the ssi realted code into the header of the custom theme . and mybe this was causing the error as described above?
Cheers
« Last Edit: April 15, 2005, 11:52:06 AM by quake4.be » Logged
Pages: [1] Go Up Print 
Forum  |  MamboHacks.com  |  Mambo-SMF Integration 1.2.0 Support  |  Topic: Mambo-SMF Configuration fread() error « previous next »
Jump to:  



Login with username, password and session length

Powered by MySQL Powered by PHP Forum | Powered by SMF 1.0.5 & Mambo-SMF.
© 2001-2005, Lewis Media. All Rights Reserved.
Valid XHTML 1.0! Valid CSS!
None of the text or images in this public website may be copied without the expressed written consent of the authors.
Copyright 2005 by MamboHacks.com. Powered by Mambo. All rights reserved.
TERMS OF USE