We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm trying to use this code inside of a CakePHP (latest version) element. And I'm having some issues (see the error below).
Error: Call to undefined function cl_image_upload_tag()
You can see the full element code at [https://gist.github.com/robksawyer/4a95a0f6c11f71df432f].
I've also added the following to bootstrap.php and cl_image_tag is working in the views.
cl_image_tag
/** * Cloudinary CDN Setup */ App::import('Vendor', 'Cloudinary/Cloudinary.php'); App::import('Vendor', 'Cloudinary/Uploader.php'); App::import('Vendor', 'Cloudinary/Api.php'); $cloudinaryURL = parse_url(getenv('CLOUDINARY_URL')); define('CLOUD_NAME', $cloudinaryURL['host']); Cloudinary::config(array( "cloud_name" => $cloudinaryURL['host'], "api_key" => $cloudinaryURL['user'], "api_secret" => $cloudinaryURL['pass'] )); /** * End Cloudinary CDN Setup */
Any ideas?
The text was updated successfully, but these errors were encountered:
cl_image_upload_tag is defined in the global namespace. You might be calling it within another namespace. Try to use \cl_image_upload_tag.
Sorry, something went wrong.
Thanks, but that didn't seem to work. :(
On Sep 15, 2013, at 4:14 AM, Tal Lev-Ami notifications@github.com wrote:
cl_image_upload_tag is defined in the global namespace. You might be calling it within another namespace. Try to use \cl_image_upload_tag. — Reply to this email directly or view it on GitHub.
— Reply to this email directly or view it on GitHub.
It's weird that cl_image_tag does work, though.
Moving discussion to cloudinary_php
No branches or pull requests
I'm trying to use this code inside of a CakePHP (latest version) element. And I'm having some issues (see the error below).
You can see the full element code at [https://gist.github.com/robksawyer/4a95a0f6c11f71df432f].
I've also added the following to bootstrap.php and
cl_image_tag
is working in the views.Any ideas?
The text was updated successfully, but these errors were encountered: