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

c# - SelectList with Dictionary, add values to the Dictionary after it's assigned to SelectList -

how can i manage url using .htaccess in php? -

ios - I get the error Property '...' not found on object of type '...' -