Jump to content


Photo

How to add a new .php page in OsCommerce?


  • Please log in to reply
4 replies to this topic

#1 Stefany93

Stefany93

    Advanced Member

  • Members
  • PipPipPip
  • 169 posts
  • Age:20

Posted 29 November 2013 - 02:08 PM

I am sorry for the obvious question, but I searched the internet for an hour and I only found deprecated examples.

 

Please help!

 

I have the website www.example.com and I want to add the page product_details.php and the users can access it with www.example.com/product_details.php but when I simply added the file into the root, I get this error when accessing it:

 

    

Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0

Fatal error: Unknown: Failed opening required '/home/peaches/public_html/product_details.php' (include_path='.:/usr/lib/php:/usr/local/lib/php:/home/gopart/gigabitware_framework') in Unknown on line 0
 

 

Please tell me how to proper add a new page in OsCom. Thank you very much!


"Never take counsel of your fears!" - Stonewall Jackson
My site - http://dyulgerova.info


#2 Stefany93

Stefany93

    Advanced Member

  • Members
  • PipPipPip
  • 169 posts
  • Age:20

Posted 03 December 2013 - 05:54 AM

Please folks - I am dying out here :(


"Never take counsel of your fears!" - Stonewall Jackson
My site - http://dyulgerova.info


#3 gristoi

gristoi

    Advanced Member

  • Members
  • PipPipPip
  • 810 posts

Posted 03 December 2013 - 05:59 AM

i would hazard a guess that you have a permission issue . mainly due to Permission denied in the error. chmod the directory correctly


To err is human... to really foul up requires the root password

#4 Stefany93

Stefany93

    Advanced Member

  • Members
  • PipPipPip
  • 169 posts
  • Age:20

Posted 08 December 2013 - 10:06 AM

@gristoi, thank you, the problem turned out to be permissions-wise. I asked the sysadmin to fix it and he did.


"Never take counsel of your fears!" - Stonewall Jackson
My site - http://dyulgerova.info


#5 softwarepoints

softwarepoints

    Newbie

  • New Members
  • Pip
  • 1 posts

Posted 11 December 2013 - 08:57 AM

In Admin section, click at new. Enter the page title, page text or HTML coding. Here, you can Edit, Add or Delete the pages besides making the pages on or off as per requirements. At the time of creation of new page,  link in box appears itself and it disappears when you delete the page or you turn it off. 






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

Cheap Linux VPS from $5
SSD Storage, 30 day Guarantee
1 TB of BW, 100% Network Uptime

AlphaBit.com