This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
136
PHP / Re: how to clear cache user account database in laravel file in live server?
« on: January 08, 2025, 01:26:48 PM »
There is no any "database cache". If you get the cached error then it means the error is cached by your site or some service like "CloudFlare" if your site uses it. If the error isn't cached then I recommend you to contact the deveopers/community or read docs of Laravel to find where the database connection settings are stored.
137
Information / Re: Having Problems with DNS
« on: January 08, 2025, 11:49:05 AM »
1. Check WHOIS of your domain and "dig" nameservers used by your domain for the records ns1.mydomain.com, ns2.mydomain.com:
replace "dns1.com, dns2.com" with the actual nameservers used by your domain (see WHOIS).
2. If your domain uses your own nameservers "nsX.mydomain.com" then register the nameservers at your registrar.
Code: [Select]
dig @dns1.com ns1.mydomain.com
dig @dns2.com ns2.mydomain.com
(look for "answer" section)replace "dns1.com, dns2.com" with the actual nameservers used by your domain (see WHOIS).
2. If your domain uses your own nameservers "nsX.mydomain.com" then register the nameservers at your registrar.
138
PHP / Re: URGENT Database insert not working
« on: January 07, 2025, 12:27:07 PM »
Enable MySQL/MariaDB "general_log" and check it to investigate the problem. It will show you if the script is able to connect and all SQL queries initiated by your scripts.
139
Migration from other control panels / Re: CWP to CWP migration does not connect
« on: January 07, 2025, 11:50:34 AM »140
CentOS 7 Problems / Re: My CWP websites are not loading after i changed my webservers to Ningx + Apache
« on: January 03, 2025, 07:31:29 PM »
Nice !
However, I strongly recommend you to upgrade the system up to AlmaLinux 8 because Centos 7 is EOL.
However, I strongly recommend you to upgrade the system up to AlmaLinux 8 because Centos 7 is EOL.
141
CentOS 7 Problems / Re: My CWP websites are not loading after i changed my webservers to Ningx + Apache
« on: January 03, 2025, 06:16:08 PM »
Try to compile the module from sources:
(you do it on your own risk)
then try to restart apache again.
(you do it on your own risk)
Code: [Select]
cd /usr/local/src
wget https://archive.apache.org/dist/httpd/httpd-2.4.62.tar.gz
tar -xvzf httpd-2.4.62.tar.gz
cd httpd-2.4.62/modules/cache/
/usr/local/apache/bin/apxs -i -c -n mod_socache_shmcb.so mod_socache_shmcb.c
then try to restart apache again.
142
CentOS 7 Problems / Re: My CWP websites are not loading after i changed my webservers to Ningx + Apache
« on: January 03, 2025, 05:54:48 PM »143
CentOS 7 Problems / Re: My CWP websites are not loading after i changed my webservers to Ningx + Apache
« on: January 03, 2025, 04:41:15 PM »Where did mod_rpaf.so go? It's part of the default CWP kit...
I think rpaf wasn't installed properly because the server works under "Centos 7". Anyway, rpaf isn't necessary if Apache only used.
144
CentOS 7 Problems / Re: My CWP websites are not loading after i changed my webservers to Ningx + Apache
« on: January 03, 2025, 04:27:12 PM »
Rename the file:
/usr/local/apache/conf.d/rpaf.conf
to
/usr/local/apache/conf.d/rpaf.conf_backup
and try to restart apache again.
Did you reinstall apache or some apache modules manually ?
Also, it seems you use Centos 7. Centos 7 is EOL. So be ready to experience problems when you update/install some server side software.
/usr/local/apache/conf.d/rpaf.conf
to
/usr/local/apache/conf.d/rpaf.conf_backup
and try to restart apache again.
Did you reinstall apache or some apache modules manually ?
Also, it seems you use Centos 7. Centos 7 is EOL. So be ready to experience problems when you update/install some server side software.
145
CentOS 7 Problems / Re: My CWP websites are not loading after i changed my webservers to Ningx + Apache
« on: January 03, 2025, 09:59:48 AM »
Did you uncomment the line
#Include /usr/local/apache/conf.d/*.conf
by removing "#" at beginning ?
#Include /usr/local/apache/conf.d/*.conf
by removing "#" at beginning ?
146
CentOS 7 Problems / Re: My CWP websites are not loading after i changed my webservers to Ningx + Apache
« on: January 03, 2025, 08:02:27 AM »
Please read my previous post if you are interested to solve the problem.
147
CentOS 7 Problems / Re: My CWP websites are not loading after i changed my webservers to Ningx + Apache
« on: January 02, 2025, 09:37:30 PM »
The main apache conf file looks good, except the line:
#Include /usr/local/apache/conf.d/*.conf
(last line of the file)
Uncomment it, stop/kill Apache and then try to restart it manually.
If your sites are inaccessible still then make sure the ports 80, 443 are used by Apache only:
#Include /usr/local/apache/conf.d/*.conf
(last line of the file)
Uncomment it, stop/kill Apache and then try to restart it manually.
If your sites are inaccessible still then make sure the ports 80, 443 are used by Apache only:
Code: [Select]
netstat -nlp| egrep "nginx|httpd"
If the ports 80, 443 remain unused then log into CWP admin and double check CWP is configured to use Apache only (WebServer config --> Select WebServers), switch to "Apache Only" if there is something else, rebuild vHosts and restart Apache.
148
CentOS 9 Problems / Re: CWP to CWP Account Migration
« on: January 02, 2025, 06:35:42 PM »
Hi,
Check this post:
http://forum.centos-webpanel.com/migration-from-other-control-panels/cwp-to-cwp-migration-does-not-connect/msg47910/#msg47910
hope it will help you.
Check this post:
http://forum.centos-webpanel.com/migration-from-other-control-panels/cwp-to-cwp-migration-does-not-connect/msg47910/#msg47910
hope it will help you.
149
CentOS 7 Problems / Re: My CWP websites are not loading after i changed my webservers to Ningx + Apache
« on: January 02, 2025, 02:15:40 PM »
The screenshots provided by you show the error 404. It means "connection accepted" not "refused" (connection refused and the error 404 are totally different things). Additionally it tells something (nginx or apache) listens the port 80.
I think you checked the wrong apache config file. The Apache config file used by CWP is:
/usr/local/apache/conf/httpd.conf
Additionally check if you have some files in:
/etc/nginx/conf.d/vhosts/
Using:
check what services exactly use the webports (80,443,8181,8443).
Show results.
Additionally, tell us what your webconfing is now.
I think you checked the wrong apache config file. The Apache config file used by CWP is:
/usr/local/apache/conf/httpd.conf
Additionally check if you have some files in:
/etc/nginx/conf.d/vhosts/
Using:
Code: [Select]
netstat -nlp| egrep "nginx|httpd"
check what services exactly use the webports (80,443,8181,8443).
Show results.
Additionally, tell us what your webconfing is now.
150
CentOS 7 Problems / Re: My CWP websites are not loading after i changed my webservers to Ningx + Apache
« on: January 02, 2025, 11:39:34 AM »
Did you check if Apache and/or Nginx work ?
Also, please provide more details when you ask to help because the descriptions like "my website doesn't work" , "I get nothing", etc don't shed light on the problem. The browser always shows something and the results like "blank white page", "error message", etc help to understand where the problem could be.
Also, please provide more details when you ask to help because the descriptions like "my website doesn't work" , "I get nothing", etc don't shed light on the problem. The browser always shows something and the results like "blank white page", "error message", etc help to understand where the problem could be.