osCmax v2.5 User Manual
Results 1 to 7 of 7

after renaming the admin folder

This is a discussion on after renaming the admin folder within the osCommerce 2.2 Installation Help forums, part of the osCommerce 2.2 Forums category; I renamed my admin folder and updated the two lings in configure.php in admin/includes and when I try to go ...

      
  1. #1
    Lurker
    Join Date
    Jul 2011
    Posts
    4
    Rep Power
    0


    Default after renaming the admin folder

    I renamed my admin folder and updated the two lings in configure.php in admin/includes and when I try to go to the log in page (which I assumed would be www.mysite.com/newadminname) the page is just blank. There is no error, just white.

    any idea what I did wrong

  2. #2
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    Default Re: after renaming the admin folder

    check your server's error logs.
    Michael Sasek
    osCMax Developer


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  3. #3
    Lurker
    Join Date
    Jul 2011
    Posts
    4
    Rep Power
    0


    Default Re: after renaming the admin folder

    so I looked at the logs and they are returning a 200 a-ok value. I started playing around with the url and I added login.php to the end and bam I got to the login page...or so I thought. I then tried to log in and everything went well but It sent me to a white screen once again. Could it be that a function or redirection file isn't activating as usual?

    ps. I did try to revert the name of the file to admin and changed the config files back, but the same thing was still happening.

  4. #4
    osCMax Development Team
    pgmarshall's Avatar
    Join Date
    Feb 2009
    Location
    London
    Posts
    2,678
    Rep Power
    49


    Default Re: after renaming the admin folder

    Turn on error reporting for admin by changing the following lines in catalog/admin/includes/application_top.php ...

    Code:
    // Set the level of error reporting
    //  error_reporting(E_ALL);
      error_reporting(E_ALL & ~E_NOTICE & ~'E_DEPRECATED');
    to

    Code:
    // Set the level of error reporting
      error_reporting(E_ALL);
    //  error_reporting(E_ALL & ~E_NOTICE & ~'E_DEPRECATED');
    ie. Switch the commented out lines ... this will display the php error message causing the white screen ... post it back here and we will help you out.

    Regards,
    pgmarshall
    _______________________________

  5. #5
    Lurker
    Join Date
    Jul 2011
    Posts
    4
    Rep Power
    0


    Default Re: after renaming the admin folder

    Hey thanks for the replies, I appreciate it, Have been self teaching myself this stuff for the last 3 days

    Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /includes/application_top.php:1) in /includes/functions/sessions.php on line 100

    Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /includes/application_top.php:1) in /includes/functions/sessions.php on line 100

    Warning: Cannot modify header information - headers already sent by (output started at /includes/application_top.php:1) in /includes/functions/general.php on line 90

  6. #6
    osCMax Development Team
    pgmarshall's Avatar
    Join Date
    Feb 2009
    Location
    London
    Posts
    2,678
    Rep Power
    49


    Default Re: after renaming the admin folder

    Looks like a session issue ... check your configure and see where you are storing your session ... near the bottom ... (search the forums for exact changes) ... you should be using 'mysql'.

    However, 'headers already sent' is normally due to extra white space after the closing ?> in a file ... have you edited anything else (eg. language files?)

    Regards,
    pgmarshall
    _______________________________

  7. #7
    Lurker
    Join Date
    Jul 2011
    Posts
    4
    Rep Power
    0


    Default Re: after renaming the admin folder

    configure is storing at mysql.
    I just noticed something as I was looking on the forums for information and: (output started at /includes/application_top.php:1): if that means that its running in php version 1, then that might be the issue, since my server is running php
    version 5.2.12

    if that is true, how would I change that?

Similar Threads

  1. error once renamed admin folder cannot login admin
    By strawhat1957 in forum Installation/Setup
    Replies: 2
    Last Post: 06-27-2011, 09:29 PM
  2. Renaming Admin folder
    By aking1001 in forum osCmax v2 Installation issues
    Replies: 12
    Last Post: 04-20-2010, 06:54 AM
  3. Renaming admin directory
    By tunnel7 in forum osCmax v2 Customization/Mods
    Replies: 6
    Last Post: 12-05-2009, 09:29 AM
  4. .htaccess on /catalog/admin folder?
    By jusluv2ski in forum osCmax v2 Installation issues
    Replies: 4
    Last Post: 10-11-2009, 11:03 AM
  5. protect admin folder never sucess
    By johnkwok in forum osCommerce 2.2 Installation Help
    Replies: 1
    Last Post: 09-06-2004, 05:02 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •