Welcome Guest, Not a member yet? Register   Sign In
can't get link to work
#30

(This post was last modified: 03-26-2016, 06:32 AM by richie41.)

(03-26-2016, 06:02 AM)Wouter60 Wrote: If you have a folder named "products" in the root of your website, then url routing will fail because the folder has the same name as your Products controller.
Please try to rename this folder to "product_catalog".

The products folder is not in the root. I have renamed it anyway to productscat and updated the .htaccess and the products.php file in the VIEWs folder. Still getting the Access Forbidden! Error 403. The link on the products page at http://localhost/thegamingplace is showing as http://localhost/thegamingplace/?products/details/1"> above the photos. When I change the link in products.php in the Views folder back to the original
     
PHP Code:
<a href="<?php echo base_url(); ?>products/details/<?php echo $product->id; ?>">
 <
img src="<?php echo base_url(); ?>assets/images/productscat/<?php echo $product->image; ?>" /></a

then when I click on the link it shows the correct url http://localhost/thegamingplace/products/details/1 and doesn't give me the ERROR 403 BUT doesn't show the details page it just stays at the products page. When I use the f12 inspect element in the browser it shows the correct link for each product. It's just not loading the details page in place of the products page.
Reply


Messages In This Thread
can't get link to work - by richie41 - 03-24-2016, 08:54 AM
RE: can't get link to work - by Paradinight - 03-24-2016, 12:26 PM
RE: can't get link to work - by richie41 - 03-24-2016, 02:59 PM
RE: can't get link to work - by twpmarketing - 03-24-2016, 02:30 PM
RE: can't get link to work - by richie41 - 03-24-2016, 02:48 PM
RE: can't get link to work - by pdthinh - 03-24-2016, 07:01 PM
RE: can't get link to work - by richie41 - 03-25-2016, 02:43 AM
RE: can't get link to work - by richie41 - 03-24-2016, 02:51 PM
RE: can't get link to work - by Wouter60 - 03-25-2016, 02:54 AM
RE: can't get link to work - by richie41 - 03-25-2016, 03:05 AM
RE: can't get link to work - by Avenirer - 03-25-2016, 03:21 AM
RE: can't get link to work - by richie41 - 03-25-2016, 03:22 AM
RE: can't get link to work - by Wouter60 - 03-25-2016, 03:23 AM
RE: can't get link to work - by richie41 - 03-25-2016, 03:41 AM
RE: can't get link to work - by pdthinh - 03-25-2016, 05:46 AM
RE: can't get link to work - by richie41 - 03-25-2016, 11:24 AM
RE: can't get link to work - by InsiteFX - 03-25-2016, 03:54 AM
RE: can't get link to work - by richie41 - 03-25-2016, 04:03 AM
RE: can't get link to work - by InsiteFX - 03-25-2016, 12:59 PM
RE: can't get link to work - by richie41 - 03-25-2016, 01:41 PM
RE: can't get link to work - by Wouter60 - 03-26-2016, 01:20 AM
RE: can't get link to work - by richie41 - 03-26-2016, 03:17 AM
RE: can't get link to work - by Wouter60 - 03-26-2016, 03:43 AM
RE: can't get link to work - by richie41 - 03-26-2016, 03:55 AM
RE: can't get link to work - by InsiteFX - 03-26-2016, 03:33 AM
RE: can't get link to work - by richie41 - 03-26-2016, 03:37 AM
RE: can't get link to work - by Wouter60 - 03-26-2016, 04:51 AM
RE: can't get link to work - by richie41 - 03-26-2016, 04:55 AM
RE: can't get link to work - by Wouter60 - 03-26-2016, 06:02 AM
RE: can't get link to work - by richie41 - 03-26-2016, 06:21 AM
RE: can't get link to work - by Wouter60 - 03-26-2016, 08:01 AM
RE: can't get link to work - by richie41 - 03-26-2016, 08:09 AM
RE: can't get link to work - by veronvynguyen - 03-12-2017, 01:57 PM
RE: can't get link to work - by kieranfitz - 04-21-2018, 04:40 PM
RE: can't get link to work - by InsiteFX - 04-22-2018, 04:27 AM
RE: can't get link to work - by InsiteFX - 04-22-2018, 04:27 AM



Theme © iAndrew 2016 - Forum software by © MyBB