Posts

Showing posts from November, 2025

iis php

memory_limit = 1024M max_input_time = 600 max_execution_time = 300 enable php error log error_log = C:\php\logs\php_errors.log make logs directory and then file php_errors.log

Error in foreign key constraint of table app_closed.apps

 Error in foreign key constraint of table app_closed . apps A — Preferred / simplest: import using the MySQL/MariaDB CLI (preserves the dump behavior) use cmd as terminal it wil show error The '<' operator is reserved for future use. copy paste file in user folder and then C:\Users\simra>mysql -u root -p app_closed < app_closed.sql Enter password: **********

php in iis

 threded php or non threaded php load phpinfo and then check  Thread Safety  disabled meaning thread safety is disabled and you need it for php extensions like ⚠ These extensions should NOT be in PHP 8.4: Remove: extension=php_json.dll extension=json extension=php_pcre.dll extension=php_tokenizer.dll extension=php_dom.dll extension=php_xmlwriter.dll extension=php_simplexml.dll extension=php_xml.dll Because in PHP 8+, these are built-in and do NOT have DLLs anymore. 👍 Correct Extensions Example for PHP 8.4 Your php.ini should have only extensions like: extension=curl extension=openssl extension=mbstring extension=mysqli extension=pdo_mysql extension=gd extension=intl extension=zip extension=fileinfo extension=exif Everything else is built-in and must NOT be loaded manually ✅ Perfect — now we finally know the exact cause of your Google Sign-In internal error. This has nothing to do with your PHP code. The real issue is: ❌ cURL error 60: SSL certificate problem Windows IIS ...

Connection Timed Out iis server

 had to reboot the router to fix the issue What happened? The initial connection between Cloudflare's network and the origin web server timed out. As a result, the web page can not be displayed. What can I do? If you're a visitor of this website: Please try again in a few minutes. If you're the owner of this website: Contact your hosting provider letting them know your web server is not completing requests. An Error 522 means that the request was able to connect to your web server, but that the request didn't finish. The most likely cause is that something on your server is hogging resources.

enable iis error

 Enable full errors by adding this to web.config inside <system.webServer>: <httpErrors errorMode="Detailed" /> full web.config <?xml version="1.0" encoding="UTF-8"?> <configuration>   <system.webServer>     <rewrite>       <rules>         <rule name="WordPress Rule" stopProcessing="true">           <match url=".*" />           <conditions logicalGrouping="MatchAll">             <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />             <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />           </conditions>           <action type="Rewrite" url="index.php" />         </rule>       </rules>    ...

The server requested authentication method unknown to the client

  mysqli::real_connect(): (HY000/2054): The server requested authentication method unknown to the client [auth_gssapi_client] this error occurs if i try to login using root user only mysql> SELECT user, host, plugin FROM mysql.user ORDER BY user, host; +-------------+--------------+-----------------------+ | User | Host | plugin | +-------------+--------------+-----------------------+ | PUBLIC | | | | mariadb.sys | localhost | mysql_native_password | | root | 127.0.0.1 | mysql_native_password | | root | ::1 | mysql_native_password | | root | localhost | mysql_native_password | | root | simrankumari | mysql_native_password | +-------------+--------------+-----------------------+ 6 rows in set (0.00 sec) sql -- 1. Create the database CREATE DATABASE `12te_12testers`; -- 2. Create the user and set the password -- We use 'localhost' as defined in DB_HOST. CREATE U...

tplink router page loadin ginstead of website page, Local Management via HTTPS is disabled. Please access the device via HTTP.

   Fix for External Users (The Internet) - Port Forwarding & IIS Bindings This fix ensures everyone outside your network can access your site. Router (TP-Link) Configuration: You MUST have Port Forwarding set up correctly on your TP-Link router. Forward External Port 80 to the Internal IP of your IIS Server (e.g., $192.168.0.100$ ). Forward External Port 443 to the Internal IP of your IIS Server (e.g., $192.168.0.100$ ). port forwarding for 443 was not done so gettingg error and redirected to tplink page

Error: bind9 restart failed
Error: 20
Error: bind9 restart failed
Error: Let's Encrypt validation status 400

  Error: bind9 restart failed<br>Error: 20<br>Error: bind9 restart failed<br>Error: Let's Encrypt validation status 400 (renitdaniel.com). Details: 403:"154.27.76.237: Invalid response from http://renitdaniel.com/.well-known/acme-challenge/sC_f9tURDAp6yDOccGJGiHIqmt5Kbi5_SODwamrPQ2I: 404" dnf install bind bind-utils -y installed it and then it started working

demo.coindoodle.com

 location / {                 #proxy_pass http://51.75.252.118:8080;                 proxy_pass http://127.0.0.1:3000;   # use your app port         proxy_http_version 1.1;         proxy_set_header Upgrade $http_upgrade;         proxy_set_header Connection 'upgrade';         proxy_set_header Host $host;         proxy_cache_bypass $http_upgrade; pm2 start index.js --name demoapp pm2 save

zimbra redo log retention period

  ChatGPT said: In Zimbra , the redo log retention period controls how long redo logs (which record mailbox transactions for backup/replay) are kept before deletion. Here’s how you can view and set the redo log retention period : Perfect 👍 — here’s how you can automatically delete old Zimbra redo logs after a specific number of days. 🧰 Example: Keep Redo Logs for 7 Days Run these steps as the zimbra user : su - zimbra crontab -e Then add this line at the bottom: # Delete redo logs older than 7 days 0 2 * * * find /opt/zimbra/redolog/archive/ - type f -name "*.log" -mtime +7 -delete ✅ Explanation: Runs every day at 2:00 AM Looks in /opt/zimbra/redolog/archive/ Deletes files ending in .log that are older than 7 days 🧩 If You Want 30-Day Retention Instead Just change +7 to +30 : 0 2 * * * find /opt/zimbra/redolog/archive/ - type f -name "*.log" -mtime +30 -delete ⚠️ Notes Make sure zimbraRedoLogArchiveEnabled is set to TRUE , ot...

cronjob not starting

 check all logs files are created 05 00 3 11 * /secondary/backups/zmigrate/tz-23oct-to-3nov/diff.sh &> /home/sas/script/logs/tz-23oct-to-3nov/pngsldiff.log /home/sas/script/logs/tz-23oct-to-3nov/pngsldiff.log this log file was not created cronjob did not start for time error ask ai i want to set a cron to run once after 2 min server time is Mon Nov 3 00:05:04 IST 2025