Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Adding a new page


Guest

Recommended Posts

Posted

I have been looking to create some extra pages that will be displayed in the same way as all the others, including all attached files, left column, application_top etc...

 

looking at support and other contributions i have found several ways in which to achieve this, I prefer not to allow any form of automatic page creation as I feel this does not allow me the control I am looking for.

 

in particular I want to add several pages, one of which is the "about us" page.

 

I have added this by copying the shipping.php file and changing all the references to filenames and declarations etc.

 

the page loads and looks great but I get the following errors:

 

In the header section.....

 

Warning: session_start(): open(/data/session/sess_7127ff5d99eb817797495be36d3f738e, O_RDWR) failed: Permission denied (13) in /data/members/paid/t/a/tail-swishing.co.uk/htdocs/www/includes/functions/sessions.php on line 67

 

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /data/members/paid/t/a/tail-swishing.co.uk/htdocs/www/includes/functions/sessions.php:67) in /data/members/paid/t/a/tail-swishing.co.uk/htdocs/www/includes/functions/sessions.php on line 67

 

and in the footer I get......

 

Warning: session_write_close(): open(/data/session/sess_7127ff5d99eb817797495be36d3f738e, O_RDWR) failed: Permission denied (13) in /data/members/paid/t/a/tail-swishing.co.uk/htdocs/www/includes/functions/sessions.php on line 106

 

Warning: session_write_close(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/data/session) in /data/members/paid/t/a/tail-swishing.co.uk/htdocs/www/includes/functions/sessions.php on line 106

 

does anybody know how to avoid these error messages??

 

thanks

Posted

Has no-one ever came across this issue before?

Posted

I didn't have any errors when I created new pages. What changes, exactly, did you make to create your new page?

Always BACK UP your files and your database before making any changes. Before asking questions, check out the Knowledge Base. Check out the contributions to see if your problem's solved there. Search the forums.

 

Useful threads: Store Speed Optimization How to make a horrible shop Basics for design change How to search the forums

 

Useful contributions: Easypopulate Fast, Easy Checkout Header Tag Controller

Posted

when I copied the shipping.php page, i saved this as about.php

 

I replaced using find/replace of all occurences and references to shipping.php including filenames/definitions and declarations etc.

 

obviously I left the originals but by following the find/replace strategy I could find all references to shipping.php and copy these to read about.php etc...

 

I am satisfied that the file copying was completed ok but feel the issues lies within the session.php page which has remained untouched.

 

when this is called from the new abnout page it gives me the error......at least I think this is the case

Posted

specifically I ammended the following files to reflect the new page

 

includes\filenames.php

boxes\information.php

languages\english.php

english\about.php

 

I copied definitions etc and pasted these in relevent places then made the changes so the syntax remained correct

Posted

How I added a new page. I wanted to add a page with information about clothes size. The steps I took:

 

1. I copied and renamed my shipping page to size.php To make sure that all other aspects of the layout will be included.

 

2. For the language file at includes/languages/english I again copied and renamed my shipping.php file to size.php

 

3. In the size.php language file I changed:

 

define('NAVBAR_TITLE', 'Shipping & Returns');

define('HEADING_TITLE', 'Shipping & Returns');

 

to

 

define('NAVBAR_TITLE', 'Size Chart');

define('HEADING_TITLE', 'Size Chart');

 

 

4. To the file filenames.php at /includes I added

 

define('FILENAME_SIZE', 'size.php');

 

 

 

That worked for me.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...