[SOLVED] Images broken in frontend - not in backend!

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
Mystoph
Forum Members
Forum Members
Posts: 22
Joined: Tue Jul 03, 2007 10:29 pm

[SOLVED] Images broken in frontend - not in backend!

Post by Mystoph »

Hi

I cant figure out why images want show up on my site. Backend is every thing normal. When I installed CMSMS I could not see images for the NiceCleanBlue theme either. And I am not able to choose and display pictures in TinyMCE.

I have checked config.php - and the file-paths are as they should be.

If I write www.domain.com/path/to/image/file.jpg I get this error-message:

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, [no address given] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.


System information states everything is OK.

What am I missing?
Im running:
CMSMS 1.6.7

I would appreciate any help, thank you.

Cheers
Christopher
Last edited by Mystoph on Wed Mar 10, 2010 8:37 pm, edited 1 time in total.
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: Images broken in frontend - not in backend!

Post by Rolf »

Hi
Got a link (pm)?
Rolf
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: Images broken in frontend - not in backend!

Post by Rolf »

Hello Mystoph

Try renaming the .htaccess files in the folders with images to htaccess.txt
/images/
/uploads/ 
/uploads/images/

Regards, Rolf
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
Mystoph
Forum Members
Forum Members
Posts: 22
Joined: Tue Jul 03, 2007 10:29 pm

Re: Images broken in frontend - not in backend!

Post by Mystoph »

Hi Rolf

Yeah you were right...
For some reason I had to move my image-folder called "gfx" from the folder "Uploads/gfx" --> "Uploads/images/gfx/".
That did the trick.  ???

Dont know why?
I have used CMSMS for a while, but never encountered this problem before. First time Im using that webhost though - and last.

Thank you for looking into this for me.

Cheers
C
User avatar
Sarmorrow
Forum Members
Forum Members
Posts: 26
Joined: Sun May 23, 2010 2:04 pm

Re: Images broken in frontend - not in backend!

Post by Sarmorrow »

Rolf wrote: Hello Mystoph

Try renaming the .htaccess files in the folders with images to htaccess.txt
/images/
/uploads/ 
/uploads/images/

Regards, Rolf
Hi Rolf,
There's no .htaccess file in with my images? There's one in the /uploads/ folder but changing that has made no difference.
In case it helps I'm just starting out with CMSMS and I'm really just finding my feet. I've made this page (as an example) http://sarahbarnard.co.uk/simplecms/ind ... tal-Series and in the "Options" tab I've put an image - just selected from the drop down menu - and it doesn't show anywhere on the page.
I've changed the .htaccess file name to htaccess.txt - on the one in the Uploads folder in my host filemanager - and it's made no difference. The image still doesn't show up.
Getting a bit frustrated with things not doing what they should do!
Thanks
Sarah
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: [SOLVED] Images broken in frontend - not in backend!

Post by Rolf »

Hi Sarmorrow, welcome here

What are the permissions of the uploads and images folder?

Please put a copy of your System Information here, you can find it in the admin.

Grtz. Rolf
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
User avatar
Sarmorrow
Forum Members
Forum Members
Posts: 26
Joined: Sun May 23, 2010 2:04 pm

Re: [SOLVED] Images broken in frontend - not in backend!

Post by Sarmorrow »

Hi Rolf,
Permissions on the image file (on my web host) say 755 and boxes for Read, Write and Execute are all ticked
System info as requested: (there's a lot of it, but I don't know which bit you need, sorry.)
----------------------------------------------

Cms Version: 1.7

Installed Modules:

    * CMSMailer: 1.73.14
    * FileManager: 1.0.2
    * MenuManager: 1.6.2
    * ModuleManager: 1.3.3
    * News: 2.10.4
    * nuSOAP: 1.0.1
    * Printing: 1.0.4
    * Search: 1.6.2
    * ThemeManager: 1.1.1
    * TinyMCE: 2.6.5


Config Information:

    * php_memory_limit:
    * process_whole_template: false
    * max_upload_size: 10000000
    * default_upload_permission: 664
    * assume_mod_rewrite: false
    * page_extension:
    * internal_pretty_urls: false
    * use_hierarchy: true


Php Information:

    * phpversion: 5.2.12
    * md5_function: On (True)
    * gd_version: 2
    * tempnam_function: On (True)
    * magic_quotes_runtime: Off (False)
    * E_STRICT: 0
    * memory_limit: 24M
    * max_execution_time: 60
    * safe_mode: Off (False)
    * session_save_path: /tmp (1777)
    * session_use_cookies: On (True)


Server Information:

    * Server Api: cgi
    * Server Db Type: MySQL (mysql)
    * Server Db Version: 5.0.89


----------------------------------------------
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: Images broken in frontend - not in backend!

Post by Rolf »

Sarmorrow wrote: I've made this page (as an example) http://sarahbarnard.co.uk/simplecms/ind ... tal-Series and in the "Options" tab I've put an image - just selected from the drop down menu - and it doesn't show anywhere on the page.
Okay, I read your first post another time... That made it clear for me.  ::)

You can use the Image dropdown in the Options tab to program images in the navigation or in your header f.e.
But you can't use it for putting images in your content...

If you want to put an image in your page content, you must use the button in the TinyMCE toolbar (the picture of the tree [Insert/edit image] )

Hope this helps,

Rolf
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
User avatar
Sarmorrow
Forum Members
Forum Members
Posts: 26
Joined: Sun May 23, 2010 2:04 pm

Re: [SOLVED] Images broken in frontend - not in backend!

Post by Sarmorrow »

Oh, right. I assumed that selecting an image there would put it on my page somewhere, and it doesn't. I did it to see where the image showed up, and it's just not there.

Not to worry, I'll try putting one in my content and see what that does...

Thanks Rolf, that's explained it.
Post Reply

Return to “CMSMS Core”