osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

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


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > osCommerce 2.2 Modification Help

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 05-15-2003, 07:14 PM
New Member
 
Join Date: Jan 2003
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
rossco
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


[
Quote:
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2  
Old 05-16-2003, 06:42 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,328
Thanks: 68
Thanked 322 Times in 305 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
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 Templates - Hundreds of premium quality templates. New designs every month!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 05-17-2003, 05:27 PM
New Member
 
Join Date: Jan 2003
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
rossco
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

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


All times are GMT -8. The time now is 11:34 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax