Welcome Guest, Not a member yet? Register   Sign In

Hi all,
I dont know how silly this error is but i am having a lot of problems with this please help me out.

While retrieving Images from the DB I am getting this error.
A PHP Error was encountered

Severity: Notice

Message: Use of undefined constant ROOT_FOLDER - assumed 'ROOT_FOLDER'

Filename: helpers/resize_helper.php

Line Number: 36
no image

many thanks
Thank you

You're going to have to show some code, as my telepathy skills aren't up to scratch
But the obvious thing to check is, assuming ROOT_FOLDER should be a constant, is it defined (sounds obvious, but you never know)

sure.. her i'm trying to show the image by specifying the uploads folder..
$real_path=ROOT_FOLDER;(This is the declaration)
echo resize_img($value,'uploads/contact_image',100,100,array('show_popup'=>true));(Actually the error comes while i use codes like this)

But where do you define ROOT_FILDER? Cause as far as I know, it's not one of the CI constants

Sorry to ask this.. Is it relates to some WAMP configuration issues. Actually i was working fine with this but when i installed WAMP in my new lap this error started.

Any clue

Sorry its been declared in a helper(resize_helper in this case)

Theme © iAndrew 2016 - Forum software by © MyBB