Images are not showing on TinyMce and CAPTCHA
Permalink
Hi.
I'm having a few problems on my client's website after moving the website between servers.
The concrete5 version on the origional server is unknown but it was installed about 3 years ago from my client.
I have moved the website to the new server and installed version 5.6.3.4. I transferred all the DB and data which was on the old server.
The website is running fine but there are the following problems.
On TinyMce, images are not showing.
The image path on TinyMce is;
img src="/index.php/download_file/view_inline/717/"
and I can't see the image when I access the path directly on a browser.
But the image is visible on the website...
The path in the html source is;
img src="/files/cache/aa4d9e5dbc75e64540f02cd01689a6d5_f717.jpg"
This problem is very similar to the following
https://www.concrete5.org/community/forums/usage/images-not-showing-...
but my /concrete/controllers/download_file.php is totally different from it.
Also CAPTCHA on the form is not working either.
The CAPTCHA images are not showing.
I wonder these problems are related.
Can anybody help me with this?
Thanks.
I'm having a few problems on my client's website after moving the website between servers.
The concrete5 version on the origional server is unknown but it was installed about 3 years ago from my client.
I have moved the website to the new server and installed version 5.6.3.4. I transferred all the DB and data which was on the old server.
The website is running fine but there are the following problems.
On TinyMce, images are not showing.
The image path on TinyMce is;
img src="/index.php/download_file/view_inline/717/"
and I can't see the image when I access the path directly on a browser.
But the image is visible on the website...
The path in the html source is;
img src="/files/cache/aa4d9e5dbc75e64540f02cd01689a6d5_f717.jpg"
This problem is very similar to the following
https://www.concrete5.org/community/forums/usage/images-not-showing-...
but my /concrete/controllers/download_file.php is totally different from it.
Also CAPTCHA on the form is not working either.
The CAPTCHA images are not showing.
I wonder these problems are related.
Can anybody help me with this?
Thanks.
I just read your post again..
Are you saying you installed a fresh copy of concrete5.6.3.4 and applied an existing database to it?
If so, this will not work, you need to copy the existing concrete file structure from the old server to the new server.
Are you saying you installed a fresh copy of concrete5.6.3.4 and applied an existing database to it?
If so, this will not work, you need to copy the existing concrete file structure from the old server to the new server.
Thank you weyboat!
That has solved my TinyMce problem
But I still have the issue with the CAPTCHA... The images don't appear on that form.
Is there anything else that I should do for it?
As for moving data to the new server, yes I installed the fresh copy of 5.6.3.4.
I exported the DB from the original server, created an empty DB on the new server and imported the DB in it.
I also FTPed all the files from the original server to the new server. (overwrote)..
Can this be the cause of the CAPTCHA issue?
That has solved my TinyMce problem
But I still have the issue with the CAPTCHA... The images don't appear on that form.
Is there anything else that I should do for it?
As for moving data to the new server, yes I installed the fresh copy of 5.6.3.4.
I exported the DB from the original server, created an empty DB on the new server and imported the DB in it.
I also FTPed all the files from the original server to the new server. (overwrote)..
Can this be the cause of the CAPTCHA issue?
What is the URL of the site so we can take a look at the problem...
The URL is
http://ryugaku.nz/
Sorry the website is written in Japanese...
And the form is
http://ryugaku.nz/enquiry/
I have disabled the CAPTCHA due to the issue.
Please let me know if I should put it back on.
http://ryugaku.nz/
Sorry the website is written in Japanese...
And the form is
http://ryugaku.nz/enquiry/
I have disabled the CAPTCHA due to the issue.
Please let me know if I should put it back on.
Look at line 69.