include error

Ask about a PHP problem here.
Post Reply
User avatar
jacek
Site Admin
Posts: 3262
Joined: Thu May 05, 2011 1:45 pm
Location: UK
Contact:

Re: include error

Post by jacek »

The page files should not included the init file

The pages are included in a page which already has the init file so there is no point doing it again.

Is that the problem ?
Image
User avatar
jacek
Site Admin
Posts: 3262
Joined: Thu May 05, 2011 1:45 pm
Location: UK
Contact:

Re: include error

Post by jacek »

well, php is telling you that the file /home/doe64/public_html/account/user/core/pages/editinfo.page.inc.php does not exist, so can you make sure that the path is right and that the file name is not typod ?
Image
User avatar
jacek
Site Admin
Posts: 3262
Joined: Thu May 05, 2011 1:45 pm
Location: UK
Contact:

Re: include error

Post by jacek »

What is the path of the index file, the one that includes the init file ?
Image
User avatar
jacek
Site Admin
Posts: 3262
Joined: Thu May 05, 2011 1:45 pm
Location: UK
Contact:

Re: include error

Post by jacek »

then you should be including core/init.inc.php not ../../../admin/profiles/core/init.inc.php
Image
User avatar
jacek
Site Admin
Posts: 3262
Joined: Thu May 05, 2011 1:45 pm
Location: UK
Contact:

Re: include error

Post by jacek »

Oh right, ../admin/core/init.inc.php then.

Either way, the file path is wrong ;)
Image
User avatar
jacek
Site Admin
Posts: 3262
Joined: Thu May 05, 2011 1:45 pm
Location: UK
Contact:

Re: include error

Post by jacek »

uhshosting wrote:ok thanks for that, but now my info is not showing anymore in the box its blank
info ? box ?

Perhaps a little more information :?
Image
Post Reply