I have an ugly ad-error

Status
Not open for further replies.

lionheart8

New Member
Messages
177
Reaction score
0
Points
0
Hello admin
I have the 2.5MB package and having been having the corresponding ad showing with no problem until now.
In spite of not having changed anything on my site [ http://www.orbit.x10hosting.com/ ], I now get this error on every page:

Warning: include(http://staff.x10hosting.com/adCode.php?ad=advanced) [function.include]: failed to open stream: Connection refused in /backups/home/xprt007/public_html/index.php on line 20

Warning: include() [function.include]: Failed opening 'http://staff.x10hosting.com/adCode.php?ad=advanced' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /backups/home/xprt007/public_html/index.php on line 20
...
What should be done to rectify the problem?
 
Last edited:

Zenax

Active Member
Messages
1,377
Reaction score
4
Points
38
Try replacing the code used or something .... I don't really know what your problem could be!
 

Christopher

Retired
Messages
14,659
Reaction score
8
Points
0
I've looked at some sites on the old server, and it seems that they are not able to currently display the ads. As long as you have the code at the right spot you should be fine.
 

cetutnx1

New Member
Messages
510
Reaction score
0
Points
0
My advise is that you create a file named eg: ads.inc.php and that you put the ad code there... this way is much more easy to change yor ad code if chage, and you havit all ways even if an error lyke this occurs
 

Cubeform

New Member
Messages
339
Reaction score
0
Points
0
Just change it to the JavaScript ad code. It doesn't matter it if errors, it just matters that it's there anyways.
 

acidburn0520

New Member
Messages
117
Reaction score
0
Points
0
Judging from the error message, it would appear that the PHP file x10 uses to house their advertisements isn't available, that's why you're getting an inclusion error -- there's nothing to include.
 

lambada

New Member
Messages
2,444
Reaction score
0
Points
0
This error is most likely due to the server move and that the staff.x10hosting.com is now on the new server, but the HTTP is down so the ads can't be retrieved.

All you can do is wait until all the accounts are transferred so HTTP can be brought back up. You won't be suspended for this - it's not your fault that one of the inclusion methods recommended doesn't work. :)

You could, alternatively put an @ symbol in front of the include( statement - that will prevent the errors from showing, but will display the ads when they are working.
 
Last edited:
Status
Not open for further replies.
Top