Page 1 of 2

Image Manager showing the Adminmainpage

Posted: Sat Mar 03, 2007 5:07 am
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.

Re: Image Manager showing the Adminmainpage

Posted: Mon Mar 05, 2007 8:20 am
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.

Re: Image Manager showing the Adminmainpage

Posted: Tue Oct 23, 2007 3:12 pm
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

Re: Image Manager showing the Adminmainpage

Posted: Tue Jan 22, 2008 2:39 am
by mgrunk
Same issue - I guess no resolution other than what was suggested (dirty) above?

Michelle

Re: Image Manager showing the Adminmainpage

Posted: Tue Jan 22, 2008 3:22 am
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.

Re: Image Manager showing the Adminmainpage

Posted: Tue Jan 22, 2008 2:25 pm
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

Re: Image Manager showing the Adminmainpage

Posted: Tue Jan 22, 2008 5:15 pm
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

Re: Image Manager showing the Adminmainpage

Posted: Mon Feb 04, 2008 9:27 pm
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.

Re: Image Manager showing the Adminmainpage

Posted: Tue Feb 05, 2008 6:23 am
by nivekiam
Can you post a link to phpinfo?

Re: Image Manager showing the Adminmainpage

Posted: Tue Feb 05, 2008 9:39 am
by gdhnz

Re: Image Manager showing the Adminmainpage

Posted: Tue Feb 05, 2008 2:46 pm
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

Re: Image Manager showing the Adminmainpage

Posted: Tue Feb 05, 2008 9:28 pm
by gdhnz
Nope.  Still have the same problem.

Re: Image Manager showing the Adminmainpage

Posted: Tue Feb 05, 2008 9:37 pm
by nivekiam
From looking at your phpinfo, it looks like they were still enabled.

Code: Select all

Caching Enabled 	true
Optimizer Enabled 	true

Re: Image Manager showing the Adminmainpage

Posted: Tue Feb 05, 2008 9:50 pm
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.

Re: Image Manager showing the Adminmainpage

Posted: Wed Jul 09, 2008 12:48 am
by tortle2
Could you possibly elaborate on this last idea?