Jump to content

Help Plz


odivo1

Recommended Posts

I have a problem, I have done everything that I could do, I uploaded the files, installed the website, but when I try to view my store, on http://watchphone.heliohost.org/, I just get this error messages:

 

Warning: include(../cont/cont.php) [function.include]: failed to open stream: No such file or directory in /home/hamza87/public_html/index.php on line 23

 

Warning: include(../cont/cont.php) [function.include]: failed to open stream: No such file or directory in /home/hamza87/public_html/index.php on line 23

 

Warning: include() [function.include]: Failed opening '../cont/cont.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/hamza87/public_html/index.php on line 23

 

Warning: include(../cont/Control.php) [function.include]: failed to open stream: No such file or directory in /home/hamza87/public_html/index.php on line 25

 

Warning: include(../cont/Control.php) [function.include]: failed to open stream: No such file or directory in /home/hamza87/public_html/index.php on line 25

 

Warning: include() [function.include]: Failed opening '../cont/Control.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/hamza87/public_html/index.php on line 25

 

Warning: include(../cont/Pages.php) [function.include]: failed to open stream: No such file or directory in /home/hamza87/public_html/index.php on line 27

 

Warning: include(../cont/Pages.php) [function.include]: failed to open stream: No such file or directory in /home/hamza87/public_html/index.php on line 27

 

Warning: include() [function.include]: Failed opening '../cont/Pages.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/hamza87/public_html/index.php on line 27

 

Warning: include(../cont/Mysql.php) [function.include]: failed to open stream: No such file or directory in /home/hamza87/public_html/index.php on line 29

 

Warning: include(../cont/Mysql.php) [function.include]: failed to open stream: No such file or directory in /home/hamza87/public_html/index.php on line 29

 

Warning: include() [function.include]: Failed opening '../cont/Mysql.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/hamza87/public_html/index.php on line 29

 

Fatal error: Class 'DB' not found in /home/hamza87/public_html/index.php on line 33

 

I hope you guys can help me get this website start running

Link to comment
Share on other sites

Since this is the index page, you don't need the "../" in the beginning, Try including it with simply "cont/file.php"

 

Also to remove error messages so your viewers don't see them, you can put an @ symbol in front of the function (ex: <?php @include) to remove these error messages.

Link to comment
Share on other sites

Since this is the index page, you don't need the "../" in the beginning, Try including it with simply "cont/file.php"

 

Also to remove error messages so your viewers don't see them, you can put an @ symbol in front of the function (ex: <?php @include) to remove these error messages.

 

I am sorry, but I did not undertsand, how do I and where do I but that "@" symbol? And what do you mean with try including it with simply "cont/file.php", I am very happy for the help you give me Unveiled

Link to comment
Share on other sites

I am sorry, but I did not undertsand, how do I and where do I but that "@" symbol? And what do you mean with try including it with simply "cont/file.php", I am very happy for the help you give me Unveiled

 

The @ symbol won't fix your problem, just will hide the error messages but it won't work still. Forget about it for now..

 

See how you linked it with include(../cont/cont.php) ? Well try this instead: include(cont/cont.php).

The reason for this is that it is your homepage and is not in any directory/folder. That means the "cont" folder is within the same directory and can be accessed at: http://watchphone.heliohost.org/cont/ .

Link to comment
Share on other sites

I am sorry, but I did not undertsand, how do I and where do I but that "@" symbol? And what do you mean with try including it with simply "cont/file.php", I am very happy for the help you give me Unveiled

 

The @ symbol won't fix your problem, just will hide the error messages but it won't work still. Forget about it for now..

 

See how you linked it with include(../cont/cont.php) ? Well try this instead: include(cont/cont.php).

The reason for this is that it is your homepage and is not in any directory/folder. That means the "cont" folder is within the same directory and can be accessed at: http://watchphone.heliohost.org/cont/ .

 

Thanks, I did as you said, now the only thing that remains is this:

 

Warning: include(.../cont/Control.php) [function.include]: failed to open stream: No such file or directory in /home/hamza87/public_html/index.php on line 25

 

Warning: include(.../cont/Control.php) [function.include]: failed to open stream: No such file or directory in /home/hamza87/public_html/index.php on line 25

 

Warning: include() [function.include]: Failed opening '.../cont/Control.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/hamza87/public_html/index.php on line 25

 

Warning: include(.../cont/Pages.php) [function.include]: failed to open stream: No such file or directory in /home/hamza87/public_html/index.php on line 27

 

Warning: include(.../cont/Pages.php) [function.include]: failed to open stream: No such file or directory in /home/hamza87/public_html/index.php on line 27

 

Warning: include() [function.include]: Failed opening '.../cont/Pages.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/hamza87/public_html/index.php on line 27

 

Warning: include(.../cont/Mysql.php) [function.include]: failed to open stream: No such file or directory in /home/hamza87/public_html/index.php on line 29

 

Warning: include(.../cont/Mysql.php) [function.include]: failed to open stream: No such file or directory in /home/hamza87/public_html/index.php on line 29

 

Warning: include() [function.include]: Failed opening '.../cont/Mysql.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/hamza87/public_html/index.php on line 29

 

Fatal error: Class 'DB' not found in /home/hamza87/public_html/index.php on line 33

Should I do the same with these too?

 

Link to comment
Share on other sites

Should I do the same with these too?

 

Yup, exactly the same. Except I don't get what PHP function is the last one, the Class 'DB' one.

Link to comment
Share on other sites

Should I do the same with these too?

 

Yup, exactly the same. Except I don't get what PHP function is the last one, the Class 'DB' one.

 

Thanks again, but now we have new problems, this is the code:

Warning: include(admin-header.php) [function.include]: failed to open stream: No such file or directory in /home/hamza87/public_html/index.php on line 635

 

Warning: include(admin-header.php) [function.include]: failed to open stream: No such file or directory in /home/hamza87/public_html/index.php on line 635

 

Warning: include() [function.include]: Failed opening 'admin-header.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/hamza87/public_html/index.php on line 635

 

Warning: include(admin-footer.php) [function.include]: failed to open stream: No such file or directory in /home/hamza87/public_html/index.php on line 639

 

Warning: include(admin-footer.php) [function.include]: failed to open stream: No such file or directory in /home/hamza87/public_html/index.php on line 639

 

Warning: include() [function.include]: Failed opening 'admin-footer.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/hamza87/public_html/index.php on line 639

 

any idea?

Link to comment
Share on other sites

Is admin-header.php in some sort of folder? Can you link the file here like I did with your cont folder.

 

Yes it is, it is in a folder named admin

if I link it, you will just end up on the admin site.

This is how it is located:

http://watchphone.heliohost.org/public_htm...dmin-header.php

or

http://watchphone.heliohost.org/admin/admin-header.php

 

Link to comment
Share on other sites

Is admin-header.php in some sort of folder? Can you link the file here like I did with your cont folder.

 

Yes it is, it is in a folder named admin

if I link it, you will just end up on the admin site.

This is how it is located:

http://watchphone.heliohost.org/public_htm...dmin-header.php

or

http://watchphone.heliohost.org/admin/admin-header.php

 

Oh then just do it this way: include(admin/admin-header.php)

Link to comment
Share on other sites

Is admin-header.php in some sort of folder? Can you link the file here like I did with your cont folder.

 

Yes it is, it is in a folder named admin

if I link it, you will just end up on the admin site.

This is how it is located:

http://watchphone.heliohost.org/public_htm...dmin-header.php

or

http://watchphone.heliohost.org/admin/admin-header.php

 

Oh then just do it this way: include(admin/admin-header.php)

I did it the error messages are not there anymore, but the website, does not look like it was ment to look like.

See for your self:

http://watchphone.heliohost.org/

Link to comment
Share on other sites

I did it the error messages are not there anymore, but the website, does not look like it was ment to look like.

See for your self:

http://watchphone.heliohost.org/

 

Well the main purpose was to fix all errors which we accomplished.

 

But how IS it supposed to look like? Perhaps you didn't link any CSS files or something?

Link to comment
Share on other sites

Are you sure you uploaded all the files and your main coding is correct? Were there instructions or an example page of how everything should be setup?

Link to comment
Share on other sites

Are you sure you uploaded all the files and your main coding is correct? Were there instructions or an example page of how everything should be setup?

Yeah I have done everything right when it comes to install it, but it worked fine on hostgator server, I don't know why it does not work here. Maybe the Php is the problem?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...