Results 1 to 3 of 3

adding new pages complexing problem

This is a discussion on adding new pages complexing problem within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; I have added new pages following the guide supplied here. Which has been very helpful. But I am getting a ...

      
  1. #1
    New Member
    Join Date
    Jan 2003
    Posts
    7
    Rep Power
    0


    Default adding new pages complexing problem

    I have added new pages following the guide supplied here. Which has been very helpful. But I am getting a strange error if i select page name of aboutus.php instead of testpage1.php

    FYI when called testpage1.php it works fine. But search engines like the page name to be relevant to the page

    I am changing the text in includes\application_top.php to

    Code:
    define('FILENAME_TESTPAGE1', 'aboutus.php');
      define('FILENAME_TESTPAGE2', 'testpage2.php');
    so first define failes and second one works
    and the file aboutus does exist in the correct directory


    [
    Fatal error: Failed opening required 'includes/languages/english/aboutus.php' (include_path='') in /home/petvet-s/public_html/aboutus.php on line 15
    Can anyone help me. I am at a loss

  2. #2
    osCMax Developer

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


    Default

    Since you changed the define to call a different page, you actually have to change the filename on the server from testpage1.php to aboutus.php and save it.

    That should solve the problem
    Michael Sasek
    osCMax Developer


    osCmax installation service - Have our professionals install osCmax on your server - same day service!
    osCmax 2.0 User Manual - the must have beginners guide to osCmax v2.0

    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
    New Member
    Join Date
    Jan 2003
    Posts
    7
    Rep Power
    0


    Default

    Thank you

    I changed the page name in includes\languages\english\

    and this solved the problem.

    May be helpful to the next person who comes across this

    All good

Similar Threads

  1. Adding New Pages - About Us
    By Cisco in forum osCMax v2 Features Discussion
    Replies: 1
    Last Post: 06-26-2006, 07:24 AM
  2. Adding new textfield in checkout pages
    By JETC in forum osCommerce 2.2 Modification Help
    Replies: 3
    Last Post: 06-14-2006, 03:27 PM
  3. Adding Boxes to pages OUTSIDE oscmax
    By rjavery in forum osCmax v2 Customization/Mods
    Replies: 4
    Last Post: 08-02-2005, 08:33 AM
  4. adding new pages
    By Dumb_Question in forum osCmax v1.7 Discussion
    Replies: 1
    Last Post: 01-30-2004, 01:11 PM
  5. Help adding admin pages
    By mutebot in forum osCommerce 2.2 Modification Help
    Replies: 0
    Last Post: 07-08-2003, 09:05 AM

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
  •