Jump to content

Fatal error: Call to undefined function rolling_curl()


korail

Recommended Posts

Hello,

 

I used to have the attached files hosted using free hosting at x10hosting.com and when I accessed the page 7000_TOPS.php through my browser the code executed correctly. My hosting account lapsed and so I have created a new one after several months however since re-uploading the files when I try to access 7000_TOPS.php in my browser I get the following error "Fatal error: Call to undefined function rolling_curl() in /home/korail/public_html/7000_TOPS.php on line 273".

 

I am not a programmer as such, this page having been cobbled together using help from several places so I'd appreciate any help someone more experienced could give.

 

You can see the page and error at http://www.korail.x10hosting.com/7000_TOPS.php.

 

Thanks.

 

[attachment deleted by admin]

Ok,

 

the two files, "7000_TOPS.php" and "rolling_curl.php", are in the same location which is the www or public_html folder on the host.

 

This is the code I've used, do I need to include anything else if they're in the saem folder?

/*INCLUDE ROLLING_CURL*/
include("rolling_curl.php");

rolling_curl($urls,'korail_callback');

Sorry took so long to get back... been swamped lately.

 

Hmm intially I would have bet that was the issue.

Well where is the index file located at for the site?

Could try something like this if the index file is like two levels back.

Let me know if that sounds right... btw I will be gone off grid for the weekend. Try some stuff like that and see it helps though.

// For these two php files being here: /php/someotherfolder
//from the url you gave I don't think this is it, but play with it anyways worth a try
/*INCLUDE ROLLING_CURL*/
include("/php/someotherfolder/rolling_curl.php");

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.