- first option? - Was your filemanager also not displaying any files/dirs before you changed the code? - Could you paste here what the error says (preferably an errormessage from firefox)?
saul11 wrote:- first option? - Was your filemanager also not displaying any files/dirs before you changed the code? - Could you paste here what the error says (preferably an errormessage from firefox)?
well, at least now we now exactly what line it is that's causing the error, but what the error says is still to guess. Could you click on the error icon and see what it complains about? I see that you're using IE, so I'm afraid the errormessage will be a bit vague...
are you the saul behind the flceditor imagemanager? i emailed you asking about freelancing. you replied to my email. if so... i'll also send details of some coding i need afterwards. (this is all related to using the fckeditor + some other simple coding work needed.) let me know. thanks.
The first suggestion is to update to the latest version, you'll run into lots of problems if you try to use an old version, and many of them will be fixed in the most recent one.
Then, it's possible that he has changed the connector mixing some patch or custom code, it might be easier to start from scratch as it's really easy to setup the connector, it takes no time at all to do it if you're using clean sources.
drop me a message with your requirements and I'll see if I can help you. Starting next week I'll have more free time so I can share that time between coding in the core of the editor and doing custom programming (or fixing bugs that I didn't looked at initially but someone thinks that they are important and put his money where his mouth is)
got it working. i think the problem was: i had a mishmash of 2 different versions of fckeditor.
i installed from new. spent ages configuring it.
in the end... i used the first suggested solution. that seems to have done the trick.
however... i am confused about there being about 2 or 3 copies of config.php. the one i updated was in .... filemanagaer/browser/...... /connectors. what are the other ones for?
OM2, I guess you mean the config files for the connectors of other server side langueses (connectors/asp, ...)? You can ignore them or even delete them because you only use the PHP connector. Did you completely delete the 2.0 fckeditor before installing the latest?
alfonsoml, is your suggestion of just altering the config making the images to have absolute paths when inserting them? Didn't know that. If so, that solution is far better, because when upgrading you don't have to adopt a codechange.
saul11 wrote:OM2, I guess you mean the config files for the connectors of other server side langueses (connectors/asp, ...)? You can ignore them or even delete them because you only use the PHP connector. Did you completely delete the 2.0 fckeditor before installing the latest?
alfonsoml, is your suggestion of just altering the config making the images to have absolute paths when inserting them? Didn't know that. If so, that solution is far better, because when upgrading you don't have to adopt a codechange.
i did a complete new install. i was referring to the fact that there is another config.php in filemanager/upload...? what's the supposed to be for...?
That's a seperate config for the uploader. I'm not sure where that uploader is used, I guess in the upload tab of the dialogs, but I don't know if the upload in the filemanager uses that code too. Maybe someone else (alfonso?) can shed some light on that. I do believe that the crew is planning to combine the browser and uploader...
In the nightlies the code for the filebrowser and upload connectors is already merged, along with some little additions so that everybody can keep using them the way they used to and bringing more flexibility at the same time.
Just download a nightly and test it! If there are any problems with the new code it would be better to know them before the new version is released (although there will be an official beta period, anytime is good to check that everything works fine and nothing has regressed)
good to hear it's working from you. i did as saul recommended... and it worked for me. but with the way i coded it... i can now put my fckeditor anywhere (i.e. any directory) on any domain... and it will work.
i think this should be something that is an option u can set... instead of having to mes around with the code!
But you can also do that with the php configuration, there's no need to hardcode the url of the domain and you can dynamically calculate it as well as the file system path. With the benefit that upgrading is absolutely painless.
Re: How do I make my images have absolute paths?
Re: How do I make my images have absolute paths?
Re: How do I make my images have absolute paths?
Well can you tell me where you're stuck?
Re: How do I make my images have absolute paths?
Re: How do I make my images have absolute paths?
- Was your filemanager also not displaying any files/dirs before you changed the code?
- Could you paste here what the error says (preferably an errormessage from firefox)?
Re: How do I make my images have absolute paths?
Re: How do I make my images have absolute paths?
Re: How do I make my images have absolute paths?
If you don't want to make the address public, just PM me or mail me.
Re: How do I make my images have absolute paths?
i'm going to send a pm now.
are you the saul behind the flceditor imagemanager?
i emailed you asking about freelancing. you replied to my email.
if so... i'll also send details of some coding i need afterwards.
(this is all related to using the fckeditor + some other simple coding work needed.)
let me know.
thanks.
Re: How do I make my images have absolute paths?
Re: How do I make my images have absolute paths?
Re: How do I make my images have absolute paths?
Re: How do I make my images have absolute paths?
Then, it's possible that he has changed the connector mixing some patch or custom code, it might be easier to start from scratch as it's really easy to setup the connector, it takes no time at all to do it if you're using clean sources.
Re: How do I make my images have absolute paths?
Re: How do I make my images have absolute paths?
Starting next week I'll have more free time so I can share that time between coding in the core of the editor and doing custom programming (or fixing bugs that I didn't looked at initially but someone thinks that they are important and put his money where his mouth is)
Re: How do I make my images have absolute paths?
Re: How do I make my images have absolute paths?
i think the problem was: i had a mishmash of 2 different versions of fckeditor.
i installed from new.
spent ages configuring it.
in the end... i used the first suggested solution.
that seems to have done the trick.
however... i am confused about there being about 2 or 3 copies of config.php.
the one i updated was in .... filemanagaer/browser/...... /connectors.
what are the other ones for?
thanks for all the help!
Re: How do I make my images have absolute paths?
Did you completely delete the 2.0 fckeditor before installing the latest?
alfonsoml, is your suggestion of just altering the config making the images to have absolute paths when inserting them? Didn't know that. If so, that solution is far better, because when upgrading you don't have to adopt a codechange.
Re: How do I make my images have absolute paths?
i did a complete new install.
i was referring to the fact that there is another config.php in filemanager/upload...?
what's the supposed to be for...?
let me know.
thanks.
Re: How do I make my images have absolute paths?
Re: How do I make my images have absolute paths?
Just download a nightly and test it! If there are any problems with the new code it would be better to know them before the new version is released (although there will be an official beta period, anytime is good to check that everything works fine and nothing has regressed)
Re: How do I make my images have absolute paths?
Re: How do I make my images have absolute paths?
i did as saul recommended... and it worked for me.
but with the way i coded it...
i can now put my fckeditor anywhere (i.e. any directory) on any domain...
and it will work.
i think this should be something that is an option u can set...
instead of having to mes around with the code!
Re: How do I make my images have absolute paths?
With the benefit that upgrading is absolutely painless.
Re: How do I make my images have absolute paths?
Re: How do I make my images have absolute paths?
Re: How do I make my images have absolute paths?
viewtopic.php?f=6&t=11439