Jump to content
Larry Ullman's Book Forums


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About shah

  • Rank
  1. Dear larry I am a web developer.I have developed custom websites with php but unable to get your method of developing websites.We make our database without defining procedures and I had not modified .htaccess file before.These topics are new for me that's why i am stuck over here. Dear margaux This is my file path in cpanel public_html/hassaan/websol/ex2
  2. thanks alot for your reply.Please see here is my config file settings. // Determine location of files and the URL of the site: //define ('BASE_URI', 'E:/wamp/www/ex2/'); when i was using this on wamp this was working on wamp. define ('BASE_URL', 'http://hassaan.bizsofttech.com/websol/ex2/'); but now i use my hosting server this is showing the above error define ('MYSQL', BASE_URL . 'mysql.inc.php'); hassaan.bizsofttech.com/websol/ex2/ is my url.what is the problem here please guide.
  3. I am getting this error An error occurred in script '/home/bizsoft/public_html/hassaan/websol/ex2/html/index.php' on line 14: include() [function.include Please check it here http://hassaan.bizsofttech.com/websol/ex2/html/index.php
  4. I have uploaded my files to my hosting account but when i uploaded the sql it shows an error that #1227 - Access denied; you need the SUPER privilege for this operation.How can I get the super privilige. But if i remove the procedures from this sql file then it uploads perfectly.
  5. Is there any one who can answer Please.I am stuck at this...
  6. Now after adding .php with index the home link starts working but the link <li><a href="ecommerce/ex2/shop/goodies/">About Us</a></li> is not working.Showing this error The requested URL ecommerce/ex2/shop/goodies/ was not found on this server. I think it is not able to get goodies file.And tell me where is goodies file in the root folder.
  7. i have changed my link to <li><a href="/ecommerce/ex2/index/">Home</a></li> <li><a href="/ecommerce/ex2/goodies/">About Us</a></li> again i am getting the same error The requested URL /ecommerce/ex2/index/ was not found on this server. (error for home page) The requested URL /ecommerce/ex2/goodies/ was not found on this server. (error for about us) my url shows this link http://localhost/ecommerce/ex2/index/ for index page and for about us it shows http://localhost/ecommerce/ex2/goodies/
  8. Dear larry I am having a problem with .htaccess file settings. my header file contains this link <li><a href="/index.php">Home</a></li> <li><a href="/shop/goodies/">About Us</a></li> the error shown when i click my home link is The requested URL /index.php was not found on this server. and my file is at wamp/www/ecommerce/ex2/shop All files are included in shop folder(main folder) and my htacsess file contains this code <IfModule mod_rewrite.c> RewriteEngine on # For sales: RewriteRule ^ecommerce/ex2/shop/sales/?$ sales.php # For the primary categories: RewriteRule ^ecommerce/ex2/shop/shop/([A-Za-z\+]+)/?$ shop.php?type=$1 # For specific products: RewriteRule ^ecommerce/ex2/browse/([A-Za-z\+\-]+)/([A-Za-z\+\-]+)/([0-9]+)$ browse.php?type=$1&category=$2&id=$3 # For testing RewriteRule ^ecommerce/ex2/eshop/(\d+)*$ index.php?id=$0 # For HTTPS pages: RewriteCond %{HTTPS} off </IfModule> Please mention the problem with my links or htaccess settings. I am not getting the logic behind the rewrite rule .Please explain it more to understand the real logic behind this code ^ecommerce/ex2/shop/sales/?$ sales.php what the first part is doing and how our website understand all of these linkings. Thanks alot.waiting for your response/
  • Create New...