Welcome Guest, Not a member yet? Register   Sign In
Proper way to extend custom library
#3

[eluser]bretticus[/eluser]
[quote author="noctrum" date="1268445583"]is CB_ your subclass_prefix?

(Are you loading CB_REST or REST?)[/quote]

@noctrum. Thanks for taking the time to read all that.

No, I used a CB_ prefix arbitrarily.

I loaded CB_REST and that (as you can see) extends REST.

I did end up just renaming my files to Cb_rest.php and Cb_curl.php. In addition to that I renamed my class names to match. That got me to a real error:

Quote:CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set...Curl.php 203

I do have open_basedir in effect on production but not development. I simply commented that line out since I don't need that for the API's I'm currently using.

Everything runs smoothly after that.

Thanks again.


Messages In This Thread
Proper way to extend custom library - by El Forum - 03-12-2010, 12:00 PM
Proper way to extend custom library - by El Forum - 03-12-2010, 01:59 PM
Proper way to extend custom library - by El Forum - 03-12-2010, 02:16 PM



Theme © iAndrew 2016 - Forum software by © MyBB