-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot Access Phpmyadmin #2
Comments
Hi Stuart, My pi ip means the IP you got from your router if your raspberry is connected to your network. For example Best regards Von meinem iBett gesendet
|
Hi Sebastian, yes that is what I am doing ie http://192.168.0.15/phpmyadmin but it says: The requested URL /phpmyadmin was not found on this server. Thanks |
Then please repeat The install. Von meinem iBett gesendet
|
OK I will start over tomorrow What is the best OS to start with Sebastian ? Many Thanks |
Ok :) To Start what? For work only Mac. And Server only debian linux :) Cheers Von meinem iBett gesendet
|
Hi, Sorry I meant I will Start installing from scratch tomorrow and should I use Raspian Jessie or Raspbian Wheezy ? Thanks again |
I think wheezy Von meinem iBett gesendet
|
Ok |
Hi Sebastian, I started installing again today and all goes well until I type the long apache2 install commands when it comes back with: E: Unable to locate package apache2-npm-prefork Any help greatly appreciated |
Sorry ignore the last comment, I have installed everything again but when I try to connect to phpmyadmin it says: Not Found The requested URL /www/phpmyadmin/ was not found on this server. Apache/2.2.22 (Debian) Server at 192.168.0.15 Port 80 Could this be a Path problem ? Thanks |
Also prviously I tried: Not Found The requested URL /phpmyadmin/ was not found on this server. Apache/2.2.22 (Debian) Server at 192.168.0.15 Port 80 Thanks |
Hi, Ok solved that issue, Typed: and add this line, save and reboot Include /etc/phpmyadmin/apache.conf only now I can't log in to mysql lol Thanks |
Hi, I think I am nearly there, I have installed the database, but what is the command on the pi for starting the pihome gui please ? Thanks |
Hi, If I type my pi's ip address into my pc browser it says: SQLSTATE[28000] [1045] Access denied for user 'root'@'localhost' (using password: YES) Thanks |
Hi, I think pihome can't connect to the database, which means when you are installing mysql and prompted for a password you must have to put in a certain password or if you put any password in it you would have to enter it in some sort of config file somewhere.... do you have any ideas please I have spent 2 days on this now. Thanks in advance |
Hi, I changed the db password in dbconfig.inc.php and voila the Frontend opened in my browser,I entered admin,pihome and it let me in, however if I click on any of the menu items I get the Apache cant find on this server page which makes me think it is still a Path problem... Thanks |
hi, if you install mysql you must set a mysql user und password. if is not root root you must change it in dbconfig.inc.php cheers
Mit freundlichen Grüßen / Sebastian Harke Contact: |
Hi Sebastian, Thanks |
ok thats easy look at /home/www/ is there the .htaccess file? i think no :) cd /home/www/ nano .htaccess paste - https://raw.githubusercontent.com/cerosx/RPI.PIHome2.0-GUI-Frontend/master/.htaccess https://raw.githubusercontent.com/cerosx/RPI.PIHome2.0-GUI-Frontend/master/.htaccess ctrl + o cheers :))
Mit freundlichen Grüßen / Sebastian Harke Contact: |
Hi Sebasian, I have done as you say but when I do an ls in the /home/www/ directory the only file that shows is index.php however if I open the file in nano it is there, tried a reboot but nothing Something must be wrong because the pihome menu still wont work. Thanks again P.S. I will write a tutorial when I get it going for others to follow. |
Sorry I am a pi beginner, ls -a and it shows the .htaccess file Is there a directory tree anywhere so I can make sure I have all files and folders where they should be ? Thanks |
Hi Sebastian, On the pihome website at Pihome installation the 8th line dow says: git clone https://github.com/cerosx/RPI.PIHome2.0-GUI-Frontend/ should this be git clone https://github.com/cerosx/RPI.PIHome2.0-GUI-Frontend/pihome otherwise the next line tries to copy a non existent directory Thanks |
Hi Sebastian, I have it working now, can you tell me what brand of 433mhz sockets you have used please as mine do not have the dip switches to set the code . Thanks |
Hi Stuart, i have this one importent is you can set a code. the new remote sockets don’t have this! where are you from? cheers Sebastian
Mit freundlichen Grüßen / Sebastian Harke Contact: |
Those units without dip switches uses "new" Nexa/Homeasy protocol. Regards |
Hi Sebastian, I am from United Kingdom and those sockets that you have are no good for me, I have trawled the internet and there are no sockets with the code setting, last night in my workshop I started to record the 433mhz signals from the socket remote that I have, what I intend to do is build a pi board that lets you control the sockets via a pulse to a certain gpio pin or I may build an I2c device to do the same. thanks |
P.S sorry tklucis, I didn't see your post, the sockets i have are Energenie and they have built a pi board for them here: Would this be easy to put into your pi-home 2.0 Sebastian ? Thanks |
No need for special board. But if you want you can go with it. |
Hi Tk , Thanks I await your code Stuart Sent from my iPhone
|
cd Pr and press TAB for autocomplete then ENTER |
I will try it now thanks |
Great cheers, so I take it I need to go into the send and receive folders and type ./build to build the application ? Thanks |
yes ... it will build binaries |
Thanks Tk, really appreciate the help, I will have a play with this now and follow your previous instructions for learning the codes etc. cheers |
chmod +x ./build |
Hi, Done that, can I use, ./scan_433RF 17 and use the onboard 433 Mhz receiver on gpio17 or do I have to connect another receiver to an unused gpio pin ? Thanks |
yep |
Hi Tk, I have wired one of the ook ask receivers to +5v Gnd and the data pin to pin 37 which is gpio 26 When I run ./scan_433RF 26 it says Wiring Pi found then I press my remote transmitter button right next to the receiver but nothing happens, I know the remote works because it is switching the socket on, after about 5 mins I have to press control c to stop changed receiver data pin to gpio4 and ran ,/scan_433RF 4 but the same Thanks |
Take it very very close to receiver module ... |
each command consists of 32bits So you can safely modify my source to fit your protocol. |
Then you have this protocol. |
Hi Tk, Thanks for the info it is spot on 25 bits, it doesn't look good though because I don't think you can use more than 4 sockets. cheers |
Wrong. Unique ID is for 4 sockets. Change ID and you will get 4 more sockets to control. |
Hi, Put pihome under /var/www/html/ Best regards
|
Hi '# [ Install PIHome ] '# Change directory '# Download PIHome from GitHub '# Copy all files in the web server directory '# awarded rights '# rights for use rcswitch per website Thanks, Steve |
Hi Steve, I had to add this path in order to get the home page loaded: Typed: and add this line, save and reboot Include /etc/phpmyadmin/apache.conf cheers |
Hi Stuart Thanks for the tip. I already did that so I could open the php admin, so that was OK. I'll start another build tonight. greetings, Steve |
Hi Steve, what problem are you having with it ? Stuart |
Hi putting pihome under var/www/html gives me the access to the pihome interface. thanks, Steve |
Hi Steve, you must make a new config cd /etc/apache2/sites-available touch 192.168.1.100.conf # your ip nano 192.168.1.100.conf copy paste this.
a2ensite 192.168.1.100.conf sudo service apache2 restart that’s it :)
Mit freundlichen Grüßen / Sebastian Harke Contact: |
Hi Sebastian The site works now, thanks for the aid, looks really nice. Now i'll build the HomyEasy binaries in the /var/www/html/tools/Proo...HomeEasy/send and receive folders with the command "chmod +x ./build" and connect the Chacon DIO hardware. I'll keep you posted. Steve |
Hi all this is the wiring: pin 2 = + gr, Steve |
you must make file executable
Mit freundlichen Grüßen / Sebastian Harke Contact: |
Hi Sebastian, I have followed the install procedure but when I get to the last bit installing database when I navigate to my pi's ip/phpmyadmin it comes up with the Apache NOT FOUND page, any help appreciated.
Thanks
Stuart
The text was updated successfully, but these errors were encountered: