php, ckeditor

I have a php/MySQL cms that I built. I am using an open source wisywig editor called CKEDitor ( and their FileUpload plugin.

When I upload the image into the wisywig area - it shows the images as missing. When I view the SOURCE code, this is what I get:

<img a="" img="" is="" span="" src="<br /> <b>Warning</b>: session_start() [<a href=" style="font-family:aldrich;" test.this="" this="" />

I also have the exact same configuration on another Domain and everything works fine. I am wondering if there is a .htacess file or php.ini file that needs some kind of code or attention? I was hoping that the nature of the code (<img a="" img="" is="" span="" src="<br /> <b>Warning</b>: session_start() [<a href=" style="font-family:aldrich;" test.this="" this="" />) would be a clue to what is happening?

Please help.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Ray PaseurCommented:
There may be something of a clue in this part: <b>Warning</b>: session_start()...  That's usually followed by further explanation, such as "can't send headers," etc.

Try turning on output buffering and see if that has any effect.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Rowby GorenCommented:
This is a long shot but are there settings in your version  of the editor that gives or denies permissions on uploading certain file types?
edavoAuthor Commented:
Yes - but all the file types I try to upload are included.
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

edavoAuthor Commented:
Now I get this:

<img src="<br /> <b>Warning</b>: is_file() [<a href="'="">

Any clues...
edavoAuthor Commented:
OKAY experts - I getting close:

Here is the problem:
I have a con gig file that includes the following line of code;

$config['BaseUrl'] = '';

THIS ALL WORKS FINE. It basically call an up lode.php file and uploads an image in the directory and places in the wisywig editor.

BUT I NEED THIS TO BE dynamic so it will work with multiple sites, so I am young to use this:

$domainid - '';
$userid - 'moffit';

$config['BaseUrl'] = 'http://'.$domainid.''.$userid.'/assets/';

But the variables are not working  OR not being carried to the uploader.php call, I am not sure which?

ANy clues how I can get the variables to work in place of the hard coded paths???
edavoAuthor Commented:
I have a CONFIG.php file, not "con gig" sorry
edavoAuthor Commented:
$domainid = '';
$userid = 'moffit';
(sorry, I have it right in my code)

Still not recognizing variables??
Ray PaseurCommented:
I think you need a professional programmer to take a look at this.  All we can see here are fragments of a problem, and they are fragments with the distinct code smell of confusion about how PHP variables and strings work.  For better or worse, computer programming requires an exacting degree of precision and a depth of understanding of many layered concepts.  I don't think we can solve the problem with what we've got in evidence here, but I am sure that a professional, given hands-on access to the code and your test data set, would be able to apply understanding to the many parts that could be in play.
I've requested that this question be deleted for the following reason:

The question has either no comments or not enough useful information to be called an "answer".
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.