Closed vinisaraiva closed 7 years ago
Hi Vinisaraiva, The PHP code which you have written to display is not correct, that's why the code is displayed in HTML page. Please find the image attached.
If this doesn't work please provide me your mail id will send you code and database with some test data in it. Hope this helps to solve your problem.
I have the same problem, i do not understand what u mean by php tags, that code is already in php tags, why is it wrong, you wrote the code right?
Hey hi Adobanyi. I meant PHP SHORT TAGS (<? ?>)
No I didn't write the code I cloned it from else where. There was not database support in the project where I cloned. So thought that it will help someone else. And made this repo.
OK please, is there a way i can get a working copy, i do have some knowledge in PHP but i havnt been able to make it work, thanks
Or can you please email me one with some test data in it, especially the reservation, how can i make that work. thanks
Hey hi Adobanyi if your using wamp server then use the following method to enable PHP Short Tags http://stackoverflow.com/questions/7306997/php-wamp-server http://stackoverflow.com/questions/12579448/php-short-open-tag-on-not-working http://stackoverflow.com/questions/2185320/how-to-enable-php-short-tags http://stackoverflow.com/questions/4645898/how-to-set-short-tag-in-php
NOTE - Don't forget to restart the WAMP server. Cheers!
I have open short tags, but my booking is still not working, I jst want to know if you have a working version for booking?
https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail Virus-free. www.avast.com https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
On Mon, May 22, 2017 at 7:55 AM, Channaveer Hakari <notifications@github.com
wrote:
Hey hi Adobanyi if your using wamp server then use the following method to enable PHP Short Tags http://stackoverflow.com/questions/7306997/php-wamp-server http://stackoverflow.com/questions/12579448/php-short- open-tag-on-not-working http://stackoverflow.com/questions/2185320/how-to-enable-php-short-tags http://stackoverflow.com/questions/4645898/how-to-set-short-tag-in-php
[image: wamp server] https://cloud.githubusercontent.com/assets/7845383/26295853/af6ffec6-3ee9-11e7-85ae-724cefe9e546.png
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/channaveer/hotel_management/issues/3#issuecomment-303014534, or mute the thread https://github.com/notifications/unsubscribe-auth/AbcnrOdMRY-aVH5Q1pdNAxOMkeh6MdjNks5r8TFPgaJpZM4KkgB1 .
@Adobanyi @vinisaraiva here is the original app link: https://github.com/tugbadogan/hotelmanagement
@Adobanyi Yep the above link posted by @artlantis is the original one. I have tweaked few things that's it. I don't have a working copy for booking. Thanks.
I am trying to run the project using wamp, followed exactly all the steps as explained, however I am getting the following error ( in the log file) after logging in as channaveer
ERROR - 2017-05-26 07:54:32 --> Severity: Notice --> Undefined variable: error C:\wamp64\www\hotel\application\views\login.php 11
and then screen goes blank with the address bar showing http://localhost/hotel/welcome/index
line 11 from C:\wamp64\www\hotel\application\views\login.php 11 is:
<?
if(@$error) {
?>
I have not changed anything in the code. Help is appreciated, as this seems to be and interesting project.
Hi @ahmj1 can you please send the screen shot of the error your facing. So that I can help you better
Here are the relevant screenshots. After logging in, I get a blank screen as shown.
Hi @ahmj1 can I have your email id please so that I can send you my local working copy project. The one who wrote the code have use suppressor (ie @ in the beginning).
Hello, I need a help please.... Studying the code, can register but can not show the data in rooms, room types, employes, etc