Image Manager showing the Adminmainpage

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.
spike900

Image Manager showing the Adminmainpage

Post by spike900 »

Hello,
I have the same problem postet in this thread: http://forum.cmsmadesimple.org/index.ph ... 671.0.html
"When I go to load the Image Manager it is attemping to load then the admin panel appears where it is supposed to be."

I think, the problem is that the lib/filemanager/ImageManager/images.php is not in the admin directory and the login fails. so it goes to the loginpage. but im logged in so it goes to admin/index.php

I can't edit my php.ini, because of my webspaceprovider (with save_mode on  >:( ).

Hope you can help me.
spike900

Re: Image Manager showing the Adminmainpage

Post by spike900 »

i have fixed it (very dirty)
i moved the filemanager directory from ./libs to ./admin, changend some include commands, to get rid of the errors. now the image manager is visible and working.
holyhen
New Member
New Member
Posts: 3
Joined: Tue Oct 23, 2007 3:02 pm

Re: Image Manager showing the Adminmainpage

Post by holyhen »

Hello,

I am having the same problem: Image manager shows the admin main page. I am having this issue since v1.0.6 until now v1.2.

Is there some other way to fix this, because I don't feel like messing around with the file structure (considering spike900's solution), as this will mess up update procedures. I tried setting the unmask to from 022 to 002, still doesn't work.

On a local XAMPP (Windows XP, to be more exact) installation I don't have this problem. Furthermore, this behavior stays the same across browsers (FF 2, Opera 9, IE 6) for local and remote installation.

Any more hints? Much appreciated!

HolyHen
mgrunk
New Member
New Member
Posts: 4
Joined: Thu Dec 13, 2007 2:12 am

Re: Image Manager showing the Adminmainpage

Post by mgrunk »

Same issue - I guess no resolution other than what was suggested (dirty) above?

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

Re: Image Manager showing the Adminmainpage

Post by calguy1000 »

CMS made simple does not support safe mode..... if safe mode is on AMONG OTHER THINGS YOU WILL HAVE PROBLEMS WITH ANY FUNCTION THAT CREATES A NEW FILE.  I>E
  1) Uploading files
  2) Any Image manager function
  3) Many file manager functions
  4) Uploading modules via module manager or XML
  5) File type fields in any modules
      a) News
      b) FrontEndUsers
      c) CompanyDirectory
      d) others

So, when using CMS Made simple in a host with safe mode, you are severely restricting your functionality.  There is nothing we can do about this because of the nature of safe mode.  So, if your host has safe mode restrictions in place, and you don't know what safe mode is and how to work around it you have these choices:
  a) work with your host to get safe mode disabled
  b) choose a host without safe mode
  c) do a helluva lot of reading (without asking questions in the forum) and understand how cms made
      simple works, and how it is limited within safe mode, and live within those restrictuions.
  d) don't use CMS made simple.

I'm sorry, but this is not a problem with cms made simple or any other content management system. It is a problem with people who don't understand what they are doing, or, who are trying to exceed the capabilities of the program they are using and the host that they have chosen. 

End Rant.
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.
holyhen
New Member
New Member
Posts: 3
Joined: Tue Oct 23, 2007 3:02 pm

Re: Image Manager showing the Adminmainpage

Post by holyhen »

Hi,
calguy1000 wrote: CMS made simple does not support safe mode..... if safe mode is on AMONG OTHER THINGS YOU WILL HAVE PROBLEMS WITH ANY FUNCTION THAT CREATES A NEW FILE.  I>E
  1) Uploading files
  2) Any Image manager function
  3) Many file manager functions
  4) Uploading modules via module manager or XML
  5) File type fields in any modules
       a) News
       b) FrontEndUsers
       c) CompanyDirectory
       d) others
hmm, my php.ini file (in the root, as well as the /admin dir) looks like this

Code: Select all

display_errors = ON
register_globals = OFF
safe_mode = OFF
because safe_mode = ON is the hosts default. The described problem with the Image manager stays the same with safe_mode=OFF.

The host correctly executes php.ini, checked it via phpinfo(); Ok, except I should set back display_errors to OFF (...), this should be fine? Do I need to copy the php.ini to each and every subdir? Actually, I thought the directory where the script is called is enough?

Thanks for your help.

HolyHen
mgrunk
New Member
New Member
Posts: 4
Joined: Thu Dec 13, 2007 2:12 am

Re: Image Manager showing the Adminmainpage

Post by mgrunk »

FWIW - I have CMSMadeSimple running X 3 on my host - 2 instances are under my own support account and Image Manager works- one one site in under customer's Hsphere and it doesn't work. I guess, I won't bother to post any more "newbie" questions.

I've never had to deal w/ the php.ini file - I don't know where it's at - I've installed lots of zen-carts, mambo and joomla on my customer's sites - I'm just looking for a much easier interface for my customers and CMSmadeSimple does that.

Michelle
gdhnz
New Member
New Member
Posts: 5
Joined: Mon Feb 04, 2008 9:24 pm

Re: Image Manager showing the Adminmainpage

Post by gdhnz »

Has anyone got any more ideas on this issue?

Below, the frame showing the admin page again, I get the options to upload a file or create a new folder and I can actually upload a file and see it via the File Manager in the Images directory but I just get the main adminpage in the frame in the Image Manager.

I've just installed a clean version of 1.2.3

safe mode is currently off in my php.ini file.
nivekiam

Re: Image Manager showing the Adminmainpage

Post by nivekiam »

Can you post a link to phpinfo?
gdhnz
New Member
New Member
Posts: 5
Joined: Mon Feb 04, 2008 9:24 pm

Re: Image Manager showing the Adminmainpage

Post by gdhnz »

nivekiam

Re: Image Manager showing the Adminmainpage

Post by nivekiam »

I have a suspicion

Try disabling eAccelerator

you can switch it off via the .htaccess by adding the following two lines..

php_flag eaccelerator.enable 0
php_flag eaccelerator.optimizer 0
gdhnz
New Member
New Member
Posts: 5
Joined: Mon Feb 04, 2008 9:24 pm

Re: Image Manager showing the Adminmainpage

Post by gdhnz »

Nope.  Still have the same problem.
nivekiam

Re: Image Manager showing the Adminmainpage

Post by nivekiam »

From looking at your phpinfo, it looks like they were still enabled.

Code: Select all

Caching Enabled 	true
Optimizer Enabled 	true
gdhnz
New Member
New Member
Posts: 5
Joined: Mon Feb 04, 2008 9:24 pm

Re: Image Manager showing the Adminmainpage

Post by gdhnz »

Resolved.

For some reason my "apachectl graceful" wasn't doing what it should've done.  After running "apachectl stop" and then killing any stray httpd processes that hadn't exited, I then used "apachectl start" and all is now working.
tortle2
Forum Members
Forum Members
Posts: 14
Joined: Mon Jun 16, 2008 1:39 am

Re: Image Manager showing the Adminmainpage

Post by tortle2 »

Could you possibly elaborate on this last idea?
Locked

Return to “CMSMS Core”