Image Manager Issue on 1.11.7

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
atdesign
Forum Members
Forum Members
Posts: 38
Joined: Fri Feb 24, 2012 12:57 pm

Image Manager Issue on 1.11.7

Post by atdesign »

Hello,

I've just installed a new CMSMS on a Yahoo host server. It's running smoothly with one exception...the Image Manager shows the admin login page in the frame. Tried logging in and it shows the admin home page. The file manager works fine. I also tested creating a new directory and uploading an image with the Image Manager and they both work, just can't see files or folders.

Here's the sys info:

Cms Version: 1.11.7

Installed Modules:

CMSMailer: 5.2.1
CMSPrinting: 1.0.4
FileManager: 1.4.3
MenuManager: 1.8.5
MicroTiny: 1.2.5
ModuleManager: 1.5.5
News: 2.12.12
Search: 1.7.8
ThemeManager: 1.1.8


Config Information:

php_memory_limit:
process_whole_template:
max_upload_size: 50000000
url_rewriting: internal
page_extension:
query_var: page
image_manipulation_prog: GD
auto_alias_content: true
locale:
default_encoding: utf-8
admin_encoding: utf-8
set_names: true


Php Information:

phpversion: 5.3.6
md5_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_STRICT: 0
E_DEPRECATED: 0
memory_limit: 64M
max_execution_time: 90
output_buffering: 0
safe_mode: Off (False)
file_uploads: On (True)
post_max_size: 50M
upload_max_filesize: 50M
session_save_path: /tmp (0770)
session_use_cookies: On (True)
xml_function: On (True)
xmlreader_class: On (True)


Server Information:

Server Api: cgi-fcgi
Server Db Type: MySQL (mysqli)
Server Db Version: 5.1.55
Server Db Grants: Found a "GRANT ALL" statement that appears to be suitable

Thanks.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Re: Image Manager Issue on 1.11.7

Post by calguy1000 »

ImageManager uses an iframe. If the domain is not setup properly, and/or the config.php not setup properly to match the domain then you will have problems with the session information not being available (due to cross domain cookies). Thus the ImageManager will redirect to the admin login screen.

Things to try/check:
1. if your domain is foo.com and the webserver is hosting foo.com then make sure that the root_url calculated (or specified in the config.php) is foo.com and not www.foo.com or somethingelse.foo.com

2. If your .htaccess is redirecting all requests for foo.com to www.foo.com, but the server is actually hosting 'foo.com' then fix it.

3. double check the setting for root_url in the config.php
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
atdesign
Forum Members
Forum Members
Posts: 38
Joined: Fri Feb 24, 2012 12:57 pm

Re: Image Manager Issue on 1.11.7

Post by atdesign »

calguy1000 wrote: 1. if your domain is foo.com and the webserver is hosting foo.com then make sure that the root_url calculated (or specified in the config.php) is foo.com and not http://www.foo.com or somethingelse.foo.com

2. If your .htaccess is redirecting all requests for foo.com to http://www.foo.com, but the server is actually hosting 'foo.com' then fix it.

3. double check the setting for root_url in the config.php
Re: 3. This was not specified in my config so I added it.
Re: 2. Not using any htaccess. (Yahoo doesn't allow them).
Re: 1. Tried with and without 'www' using what was automatically determined as the root url from system information.

Still no good.
Post Reply

Return to “CMSMS Core”