Jump to content



Photo

Chapter 8


  • Please log in to reply
1 reply to this topic

#1 muhammad

muhammad

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 29 October 2016 - 1:53 PM

Hi Mr Larry, am having a problem with  script 8.5_Register.php. Specifically, at database connection on line 47 require_once ('/..mysqli_connect.php'); 

This is the errors it shown me

1. Warning: require_once(/..mysqli_connect.php):failed to open stream:No such file or directory in C:\xampp\htdocs\register.php

2. fatal error:require_once():failed opening required '../mysqli_connect.php' (include_path='.;C:\xampp\php/PEAR') in C:\xampp\htdocs\register.php

Look forward to hearing from you.


  • 0

#2 Larry

Larry

    Administrator/Writer

  • Administrators
  • 4814 posts
  • LocationState College, PA (USA)

Posted 30 October 2016 - 10:57 PM

Hello! You almost certainly should be using 

../mysqli_connect.php

 not 

/..mysqli_connect.php

If you still get an error after fixing that, please confirm where you have your mysqli_connect.php file (presumably it's in C:\xampp). 


  • 0