Page 1 of 2 12 LastLast
Results 1 to 10 of 15
  1. #1
    Join Date
    Feb 2007
    Posts
    80
    Plugin Contributions
    0

    Default Upgrading -- admin not working

    I am in the middle of an upgrade and things seem to be going wrong. I have set up the new site at htp://wholesaleforms.com/new_store and I ma getting the error:
    The requested URL /new_store/wsf_site_controls-98579/FILENAME_ALERT_PAGE.php was not found on this server.
    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
    I have edited the admin>includes>configure.php file and changed the name of the admin folder. Once I get that fixed then I will tackle the next issue.

    Thanks for looking into it.

    Jason

    P.S. I dream of a day when Zen Cart is easier to upgrade.

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Upgrading -- admin not working

    Don't know what this is unless it is the renamed admin folder in which case you should change it again as you have posted it openly and hackers lurk around looking for that

    wsf_site_controls-98579

    Also, FILENAME_ALERT_PAGE.php is not a file present in the default file set distribution

    So what it it that you have or have added?

  3. #3
    Join Date
    Feb 2007
    Posts
    80
    Plugin Contributions
    0

    Default Re: Upgrading -- admin not working

    Thanks Kobra, I will change that right away. It has been a long day.

    I compared the current files to the original 1.3.7 files and marked all of the changes. then made those changes to the 1.3.9h files, then added in my override files.

    I don't know where to look.

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Upgrading -- admin not working

    Actually that is a default name ... in version 1.3.9 ...

    It is used when the admin has not been renamed ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  5. #5
    Join Date
    Feb 2007
    Posts
    80
    Plugin Contributions
    0

    Default Re: Upgrading -- admin not working

    but I have renamed the admin folder, what could be the issue Ajeh?

    I don't have that file in the admin folder. Is it located somewhere else and some file is pointing to the wrong location?
    Last edited by azwli; 7 Apr 2011 at 09:58 PM.

  6. #6
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Upgrading -- admin not working

    Quote Originally Posted by Ajeh
    Actually that is a default name ... in version 1.3.9 ...
    Where ??
    I grepped a default 1.3.9h for it with no return

  7. #7
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Upgrading -- admin not working

    I used the Developers Tool Kit and did a search on:
    FILENAME_ALERT_PAGE

    And I get:
    /home/username/public_html/current_catalog/secretadmin/alert_page.php

    Line #5 : * @version $Id: alert_page.php 17421 2010-08-31 00:23:52Z drbyte $

    /home/username/public_html/current_catalog/secretadmin/includes/init_includes/init_admin_auth.php

    Line #13 : if (basename($_SERVER['SCRIPT_FILENAME']) != FILENAME_ALERT_PAGE . '.php')

    Line #17 : zen_redirect(zen_href_link(FILENAME_ALERT_PAGE));

    Line #22 : zen_redirect(zen_href_link(FILENAME_ALERT_PAGE));

    Line #26 : if (basename($_SERVER['SCRIPT_FILENAME']) != FILENAME_ALERT_PAGE . '.php')

    /home/username/public_html/current_catalog/secretadmin/includes/languages/english/alert_page.php

    Line #5 : * @version $Id: alert_page.php 17421 2010-08-31 00:23:52Z drbyte $

    /home/username/public_html/current_catalog/includes/filenames.php

    Line #27 : define('FILENAME_ALERT_PAGE', 'alert_page');
    Check your files and see if you missed installing on the server the file:
    /home/username/public_html/current_catalog/secretadmin/alert_page.php
    Also check that you have the define:
    /home/username/public_html/current_catalog/includes/filenames.php

    Line #27 : define('FILENAME_ALERT_PAGE', 'alert_page');
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  8. #8
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Upgrading -- admin not working

    My GREP must be broke??

    Probably my fat fingers...

  9. #9
    Join Date
    Feb 2007
    Posts
    80
    Plugin Contributions
    0

    Default Re: Upgrading -- admin not working

    Thanks Ajeh, I found all of those files and they all seem correct on the server or at least the same as what you have found with your search. I would have used the developers toolkit, but I can't get to the admin area any other ideas?

    I did notice one thing and that is when I installed the demo I tried to go to admin and I got an actual html screen that told me what to do. I did not edit the configure.php file right away and I got this same error message, but then I edited the file and everything is fine.

    I did those edits right away knowing it was coming but no joy.

  10. #10
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Upgrading -- admin not working

    Check your configure.php files on the server ... make sure that they have the changes you are making and that the files are being updated with the correct new admin name ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v153 Upgrading PHP, zc installation not working
    By Ormhaugen in forum Installing on a Linux/Unix Server
    Replies: 5
    Last Post: 23 Nov 2015, 03:45 PM
  2. v139c Upgrading database not working (1.3.9 to 1.5.1)
    By lafhaha in forum Upgrading to 1.5.x
    Replies: 24
    Last Post: 17 Oct 2014, 11:12 PM
  3. Columns per row not working after upgrading from 1.3.8
    By s58smith in forum Upgrading to 1.5.x
    Replies: 0
    Last Post: 13 Jun 2012, 08:30 AM
  4. Define pages not working after upgrading to 1.3.5
    By shirster in forum General Questions
    Replies: 8
    Last Post: 6 Sep 2006, 06:10 AM

Posting Permissions

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