SUPLA server on shared host

User avatar
pzygmunt
Posts: 19039
Joined: Tue Jan 19, 2016 9:26 am
Location: Paczków

Post

You need to clear cache

cd /var/www/html
sudo ./clear_cache.sh
fubax
Posts: 20
Joined: Tue Sep 27, 2016 6:23 am

Post

I get this:
Image
Is rebooting RPi clear the cache?I do this but the problem exist!
fubax
Posts: 20
Joined: Tue Sep 27, 2016 6:23 am

Post

the file /var/www/html/app/config/parameters.yml does not contain valid YAML.
unable to parse at line 10(near "mailer_host:smtp.gmail.com ").
User avatar
pzygmunt
Posts: 19039
Joined: Tue Jan 19, 2016 9:26 am
Location: Paczków

Post

Change
mailer_host:smtp.gmail.com
to
mailer_host: smtp.gmail.com
fubax
Posts: 20
Joined: Tue Sep 27, 2016 6:23 am

Post

I changed it and clear the cache but still I don't receive any mail :cry:
Is there a log file that I can check that why it can't send mail?
User avatar
pzygmunt
Posts: 19039
Joined: Tue Jan 19, 2016 9:26 am
Location: Paczków

Post

You can use original account. Read README.txt
You can also accept new account directly in mysql database
fubax
Posts: 20
Joined: Tue Sep 27, 2016 6:23 am

Post

Before I change parameters.yml file ,I test it and it don't send any mail so I decided to change it.
I do not have enough knowledge and I don't know how to set it up through mysql.
please look at the blew picture and tell me what is wrong.
Image
User avatar
pzygmunt
Posts: 19039
Joined: Tue Jan 19, 2016 9:26 am
Location: Paczków

Post

mysql -u root -p
use supla;
update supla_user SET enabled = 1, reg_date = NOW(), token = NULL;
exit;


password for user root is "raspberry"
fubax
Posts: 20
Joined: Tue Sep 27, 2016 6:23 am

Post

I did what you said,after reboot the Pi I see this on my browser:
Image
User avatar
pzygmunt
Posts: 19039
Joined: Tue Jan 19, 2016 9:26 am
Location: Paczków

Post

update supla_user SET enabled = 1, reg_date = NOW(), token = '';

Return to “General discussion”