Stefany93 Posted November 29, 2013 Share Posted November 29, 2013 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! Quote Link to comment https://forums.phpfreaks.com/topic/284384-how-to-add-a-new-php-page-in-oscommerce/ Share on other sites More sharing options...
Stefany93 Posted December 3, 2013 Author Share Posted December 3, 2013 Please folks - I am dying out here Quote Link to comment https://forums.phpfreaks.com/topic/284384-how-to-add-a-new-php-page-in-oscommerce/#findComment-1461062 Share on other sites More sharing options...
gristoi Posted December 3, 2013 Share Posted December 3, 2013 i would hazard a guess that you have a permission issue . mainly due to Permission denied in the error. chmod the directory correctly Quote Link to comment https://forums.phpfreaks.com/topic/284384-how-to-add-a-new-php-page-in-oscommerce/#findComment-1461063 Share on other sites More sharing options...
Stefany93 Posted December 8, 2013 Author Share Posted December 8, 2013 @gristoi, thank you, the problem turned out to be permissions-wise. I asked the sysadmin to fix it and he did. Quote Link to comment https://forums.phpfreaks.com/topic/284384-how-to-add-a-new-php-page-in-oscommerce/#findComment-1461652 Share on other sites More sharing options...
softwarepoints Posted December 11, 2013 Share Posted December 11, 2013 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. Quote Link to comment https://forums.phpfreaks.com/topic/284384-how-to-add-a-new-php-page-in-oscommerce/#findComment-1462065 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.