odivo1 Posted December 7, 2008 Posted December 7, 2008 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
Unveiled Posted December 7, 2008 Posted December 7, 2008 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.
odivo1 Posted December 7, 2008 Author Posted December 7, 2008 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
Unveiled Posted December 7, 2008 Posted December 7, 2008 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/ .
odivo1 Posted December 7, 2008 Author Posted December 7, 2008 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?
Unveiled Posted December 7, 2008 Posted December 7, 2008 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.
odivo1 Posted December 7, 2008 Author Posted December 7, 2008 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?
Unveiled Posted December 7, 2008 Posted December 7, 2008 Is admin-header.php in some sort of folder? Can you link the file here like I did with your cont folder.
odivo1 Posted December 7, 2008 Author Posted December 7, 2008 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
Unveiled Posted December 7, 2008 Posted December 7, 2008 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)
odivo1 Posted December 7, 2008 Author Posted December 7, 2008 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/
Unveiled Posted December 7, 2008 Posted December 7, 2008 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?
odivo1 Posted December 7, 2008 Author Posted December 7, 2008 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? something like this
Unveiled Posted December 7, 2008 Posted December 7, 2008 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?
odivo1 Posted December 7, 2008 Author Posted December 7, 2008 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?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now