I have been using Amahi since fedora 12 and amahi 5 and have always been able to figure out most problems using the wiki and forums, but now I am stumpted.
A little background; I have Fedora 14 and amahi 6 installed. I believe all amahi updates are automatic as it runs 24/7.
I have several amahi apps installed for example; ajaxexplorer, phpmyadmin, lininfo and webcalendar. They all work without problem. I have also installed several other apps per the wiki and they work without problem, for example simple invoices.
The problem; I have been running a local website on ubuntu 10.04 LTS for sometime. Last week I decided to move it to Amahi and cease the use of Ubuntu. Following the wiki and using the web-apps link in the hda, I created the website folder. I used phpmyadmin to create the mysql database and then import the back up from Ubuntu. I then copied the website files to the html dir in the application folder (/var/hda/web-apps/english/html ).
When I attempt to access the site by browser all I get is a blank page. I have tried using; http//english,
xxxp://english/index.php, xxxp://english.home.com, xxxp:192.168.0.202/english, xxxp://hda/english and xxxp://english.hda.
No success, all I get is a blank page in FF and when I view sources it is also blank. Please help
Note I tried to wrap the http links in code tags, but could not so I replaced htt with xxx.
chuvk
can't access my own app
Re: can't access my own app
Two things to check. First, make sure all files in the english/html directory are owned by apache:users. Second, have you tried any other browsers?
ßîgƒσστ65
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Re: can't access my own app
Thanks for your response.
I have checked IE and Google Chrome. IE shows 500 server error and google chrome can't find.
All files and folders are owner apache-APACHE, group users, file and folder permissions are 775.
It's just a basic website that dynamically imputs info in a mysql database.
Thanks for your help.
Chuvk
I have checked IE and Google Chrome. IE shows 500 server error and google chrome can't find.
All files and folders are owner apache-APACHE, group users, file and folder permissions are 775.
It's just a basic website that dynamically imputs info in a mysql database.
Thanks for your help.
Chuvk
Re: can't access my own app
Is the main index file .php or .html? I would suggest you check english/logs folder for clues. There are two log files there, one for access and one for errors. There might be something there that will help.
ßîgƒσστ65
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Re: can't access my own app
My main page is index.php, there are no html pages in the site. I have attached both log files as txt files.
Thank you
Chuvk
Thank you
Chuvk
- Attachments
-
- error_log.txt
- (6.98 KiB) Downloaded 163 times
-
- access_log.txt
- (4.21 KiB) Downloaded 160 times
Re: can't access my own app
Ok, looks like your issue is in the index.php file. Your connection the the MySQL database is in error.
Once you can get that sorted out, it should work.[Tue Feb 21 21:38:58 2012] [error] [client 192.168.0.51] PHP Warning: mysql_pconnect(): Access denied for user 'admin'@'localhost' (using password: YES) in /var/hda/web-apps/english/html/Connections/eng_database.php on line 9
ßîgƒσστ65
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Re: can't access my own app
Thank you so much, something so simple and I missed it.
Set admin permissions to localhost from % and it was good.
Chuvk
Set admin permissions to localhost from % and it was good.
Chuvk
Re: can't access my own app
Awesome. Glad I could help.
ßîgƒσστ65
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Who is online
Users browsing this forum: No registered users and 15 guests