Members: 16,806
Threads: 38,939
Posts: 160,317
Online: 161

Newest Member: jkyyan


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

Go Back   Mambers.com > Development > Module Development

Reply
 
LinkBack (1) Thread Tools Display Modes
Old 30.11.2007, 19:47   1 links from elsewhere to this Post. Click to view. #1 (permalink)
Junior Mamber
 
Join Date: Jun 2004
Posts: 45
gurdip is on a distinguished road
Default New module problem: fsockopen does not work within Joomla, ok outside of it.

Hi,

I posted this several days ago elsewhere but received no replies. Perhaps I should have posted it here?

I have a pagerank script that works perfectly on its own. It uses toolbarqueries.google.com to obtain the PR of an inputted url.

I converted the script to a Joomla module and successfully uploaded it (on the same server). However, it gives this error:

Code:
Warning: fsockopen() [function.fsockopen]: php_network_getaddresses: 
getaddrinfo failed: Name or service not known in 
/home/powerarc/public_html/cms/modules/mod_pagerank.php on line 96

Warning: fsockopen() [function.fsockopen]: unable to connect to :80
 in /home/powerarc/public_html/cms/modules/mod_pagerank.php on line 96
Line 96 reads: $fp = fsockopen($googlehost, 80, $errno, $errstr, 30);

And $googlehost is defined earlier as:
$googlehost='toolbarqueries.google.com';

Substituting the host with its IP address made no difference.

I assume fsockopen is enabled on the server since the script works fine outside of Joomla. Any ideas why this error is occuring only inside Joomla? Is there some setting within Joomla causing this problem? How can I rectify it?

Thanks

gs
gurdip is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 02.02.2008, 06:42   #2 (permalink)
Baby Mamber
 
Join Date: Feb 2008
Posts: 4
bmw2007 is on a distinguished road
Default Re: New module problem: fsockopen does not work within Joomla, ok outside of it.

ADSS Cable 12 Core 8 Core,ADSS Fiber Cable 2-12 CORES Characteristic of Construction

  Loose tube
  Metal central strength member
  Cable filling Compound (Water-blocking material)
  Corrugated aluminum tape coated with PE/co-polymer on both sides bonded to the inner surface of PE sheath


Aramid yarn strength layer-stranded loose tube indoor outdoor optic cable Applied to long-distance and local Suitable Installation

  Duct, aerial and direct buried


Duplex Simplex Optical Fiber Cable China Manufacturer
GYTA Cable 2-144 CORES,GYTA Optical Fiber Cable 2-144 CORES
GYTFA Cable 2-144 CORES,GYTFA Fiber Optic Cable 2-144 CORES

Standard
TIA/EIA-568A、ISO/IEC11801、YD/T1019-2001
 Typical Applications
ISDN、10Base-T、1000Base-T4、100Base-TX、100VG-AnyLAN、155MbpsATM、622Mbps
 Apply Situation
Level subsystem part of synthetical wiring system
Indoor Optical Fiber Cables,Indoor Breakout Optical Fiber Cables Manufacturers From China,Indoor Optic Fiber Cables
Indoor Single-mode Fiber Optic,Indoor SingleMode Optical Fiber Cables,Indoor SingleMode Fiber Optic Cables



APPLICATON CAT5E UTP 24 Pairs Cable China manufacturer

DECRIPTION 24 AWG solid bare copper conductors, PE insulation, and LSOH jacket

COPPER WEIGHT 98kg/km

CONDUCTOR
Material: Bare copper wire
Diameter of conductor : 0.52 mm
AWG: 24
Total Pairs: 24

INSULATION
Material: HDPE
Diameter over insulation: 0.95 mm

PAIR
2 cores to 1 pair (For colors scheme of pairs see table 1). 4 pairs to subunit.
6 subunits to a 24 pair unit. PET foil wrapping

SHEATH
Material: LSOH
Color of sheath: Grey
Ripcord: Provided under sheath
Nominal wall thickness of sheath: 1.0mm
Outer diameter: 12.5?/span>1mm

Wire Color
Pair No.
Colour wire a ?Wire b
1
White ?Blue
2
White ?Orange
3
White ?Green
4
White ?Brown

Unit Color
Unit No.
Color Binder
1
Red
2
Black
3
Yellow
4
Purple
5
White
6
Brown

PHYSICAL PROPERTIES
Temperature range operation - 20?C to + 70?C
Temperature range installation 0?C to + 50?C
Minimum bending radius without load ?/span> 100 mm

ELECTRICAL CHARACTERISTICS

Max. Capacitance Unbalance (pF/100m)
Nom. Velocity of Propagation
(%)
Nom. Delay Skew
(ns/100m)
Max. Delay
(ns/100m)
Nom. Mutual Capacitance @ 1 KHZ
(nF/100m)
66
70
25
510
5.6

ELECTRICAL DATA @ 20癈

Frequency
(MHz)
Attenuation (dB/100m)
Next
(dB/100m)
PS Next
(dB/100m)
Return loss
(dB)
1.0
2.04
65.3
62.3
20
4.0
4.05
56.3
53.3
23.01
8.0
5.77
51.75
48.75
24.52
10.0
6.47
50.30
47.3
25.00
16.0
8.25
47.24
44.27
25
25.0
10.42
44.33
41.33
24.32
100.0
21.98
35.3
32.3
20.11
ADSS Cable 12 Core 8 Core,ADSS Fiber Cable 2-12 CORES
Characteristic of Construction
  Loose tube
  Metal central strength member
  Cable filling Compound (Water-blocking material)
  Corrugated aluminum tape coated with PE/co-polymer on both sides bonded to the inner surface of PE sheath
Aramid yarn strength layer-stranded loose tube indoor outdoor optic cable Applied to long-distance and local
Suitable Installation
  Duct, aerial and direct buried
Duplex Simplex Optical Fiber Cable China Manufacturer

--------------------------------------------------

ADSS Cable 12 Core 8 Core,ADSS Fiber Cable 2-12 CORES
Technical Characteristics 】 ·Low dispersion and attenuation ·Proper design, precise control for fiber excess length GYA Cable 2-144 CORES,GYA Optical Fiber Cable 2-144 CORES
and distinct stranding process render t
bmw2007 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
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

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

LinkBacks (?)
LinkBack to this Thread: http://www.mambers.com/module-development/49941-new-module-problem-fsockopen-does-not-work-within-joomla-ok-outside.html
Posted By For Type Date
New module problem: fsockopen does not work within Joomla, ok ... | Other CMS This thread Refback 29.02.2008 03:39

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with custom module in left position mombutu Module Development 0 19.09.2005 19:01
Gallery module will not work in left position struesda Mambo 4.5.1 'How Do I' Questions 0 02.08.2005 20:49
Search module doesn't work - reinstall? guyken70 Mambo 4.5 'How Do I' Questions 1 06.04.2005 20:18
phpShop Module... problem... dunedain Module 'How Do I' Questions 4 05.07.2004 13:41
Problem with Slide Show Module Zurrupion Mambo 4.5 General Talk 2 14.05.2004 00:42


All times are GMT +2. The time now is 06:42.

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