php include not working when switching to SSL -


i added ssl on site , and updated 'http://' 'https://' in absolute paths.

i receiving error on relative php include though.

code:

include("connection.php"); 

error message

warning: include(connection.php) [function.include]: failed open stream: no such file or directory in pathto/includes/index_header.php on line 57

i assuming need update "https" don't know where.

i think u included index_header.php in index.php. ie. loads file root folder u needed add includes folder: index.php <- index_header.php <- connection.php

you need do

includes("includes/connection.php"); 

Comments

Popular posts from this blog

javascript - Count length of each class -

What design pattern is this code in Javascript? -

hadoop - Restrict secondarynamenode to be installed and run on any other node in the cluster -