Search found 9 matches
- Fri Apr 07, 2017 6:41 pm
- Forum: Web Server
- Topic: Incorrect IP address PHP
- Replies: 1
- Views: 2891
Re: Incorrect IP address PHP
I fixed it myself. For future references: Run the following: wget https://raw.githubusercontent.com/serghey-rodin/vesta/master/upd/switch_rpath.sh chmod +x switch_rpath.sh ./switch_rpath.sh Source: https://forum.vestacp.com/viewtopic.php?t=13817#p56361 https://forum.vestacp.com/viewtopic.php?f=10&t=...
- Fri Apr 07, 2017 6:02 pm
- Forum: Web Server
- Topic: Incorrect IP address PHP
- Replies: 1
- Views: 2891
Incorrect IP address PHP
Heya, If I use the following code: <?php echo $_SERVER['REMOTE_ADDR']; ?> Then I'm seeing the IP address of my webserver. However, HTTP_X_REAL_IP and HTTP_X_FORWARDED_FOR does show the correct IP address. I am not going to replace all my scripts with that. I just want it to give the correct IP via R...
- Sun Jan 29, 2017 3:00 pm
- Forum: Web Server
- Topic: Unable to use caching template + SSL (LetsEncrypt)
- Replies: 0
- Views: 1692
Unable to use caching template + SSL (LetsEncrypt)
Heya,
I've got a website that's using LetsEncrypt and if I change the template to caching, the website loops and gives an error.
Is there a way to fix it?
Kind regards,
Pilovali
I've got a website that's using LetsEncrypt and if I change the template to caching, the website loops and gives an error.
Is there a way to fix it?
Kind regards,
Pilovali
- Tue Apr 14, 2015 7:53 pm
- Forum: Database Server
- Topic: MySQL is not working, MySQLi is working.
- Replies: 11
- Views: 14712
Re: MySQL is not working, MySQLi is working.
Already tried that.skurudo wrote:Check this - http://forum.vestacp.com/viewtopic.php? ... ta1#p20701
- Tue Apr 14, 2015 7:30 am
- Forum: Database Server
- Topic: MySQL is not working, MySQLi is working.
- Replies: 11
- Views: 14712
Re: MySQL is not working, MySQLi is working.
May be you can some screenshot of installation process or url/database settings in PM? I've send you a PM with credentials of the VestaCP user, perhaps you can take a look. UPDATE: I re-checked the MySQL logs and it's spamming this error: InnoDB: using the same InnoDB data or log files. InnoDB: Una...
- Mon Apr 13, 2015 7:44 pm
- Forum: Database Server
- Topic: MySQL is not working, MySQLi is working.
- Replies: 11
- Views: 14712
Re: MySQL is not working, MySQLi is working.
Nope, I disabled it and it didn't solved this issue.skurudo wrote:Most likely Pagespeed (for apache2?), thy disable this module, restart apache2 and then try again.
- Mon Apr 13, 2015 4:42 pm
- Forum: Database Server
- Topic: MySQL is not working, MySQLi is working.
- Replies: 11
- Views: 14712
Re: MySQL is not working, MySQLi is working.
Error log of the website is emtpy, MySQL log shows nothing regarding to that.
Could it be because of something I installed? Like APC or Pagespeed? I didn't had this problem before.
Could it be because of something I installed? Like APC or Pagespeed? I didn't had this problem before.
- Mon Apr 13, 2015 3:01 pm
- Forum: Database Server
- Topic: MySQL is not working, MySQLi is working.
- Replies: 11
- Views: 14712
Re: MySQL is not working, MySQLi is working.
Wait, wait, wait... Do you create user - it's ok, do you create database / database user / password and then use for connect SMF forum and this don't work, correct? You copy all field right? PHP have at least two connectors for database - mysql and mysqli (check in /etc/php5/conf.d) - http://php.ne...
- Mon Apr 13, 2015 2:02 pm
- Forum: Database Server
- Topic: MySQL is not working, MySQLi is working.
- Replies: 11
- Views: 14712
MySQL is not working, MySQLi is working.
Hello, I have a problem with the MySQL server. I want to install SMF (Forum software) and it is giving me this error: Access denied for user 'pirus'@'localhost' (using password: NO) pirus is the VestaCP username, not the database name. I did some research and I found this interesting link: http://st...