php refresh.php gives error
Posted by: theking2 (---.static.upc.ch)
Date: June 11, 2024 04:46PM

Running php refresh.php gives the following error:


PS C:\wamp\scripts> php .\refresh.php
PHP Fatal error: Uncaught Error: Class "IntlDateFormatter" not found in C:\wamp\scripts\refresh.php:163
Stack trace:
#0 {main}
thrown in C:\wamp\scripts\refresh.php on line 163

Options: ReplyQuote
Re: php refresh.php gives error
Posted by: theking2 (---.static.upc.ch)
Date: June 11, 2024 04:56PM

I was running php from another installation.

Doing this repaired the ini file (but gave a warning)

PS C:\wamp\scripts> C:\wamp\bin\php\php8.3.6\php.exe refresh.php

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in C:\wamp\wampmanager.tpl on line 627

Call Stack:
0.0087 1208000 1. {main}() C:\wamp\scripts\refresh.php:0

Options: ReplyQuote
Re: php refresh.php gives error
Posted by: Otomatic (Moderator)
Date: June 11, 2024 08:15PM

Your Wampserver version is too old for the PHP version you are using.

Upgrade to Wampserver 3.3.5

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote
Re: php refresh.php gives error
Posted by: sloopsjohng (162.250.2.---)
Date: June 17, 2024 02:00AM

I'm seeing a similar error. I believe the issue is on line 630 of wampmanager.tpl, which reads:

TitleApplication=Wampserver ${c_wampMode}


I believe it should be:

TitleApplication=Wampserver {$c_wampMode}

Options: ReplyQuote
Re: php refresh.php gives error
Posted by: Otomatic (Moderator)
Date: June 17, 2024 08:38AM

Hi,

> TitleApplication=Wampserver {$c_wampMode}

Thank you for your time. That is correct. A variable that was passed over in the process of replacing ${my_var} with {$my_var}.

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote
Re: php refresh.php gives error
Posted by: Dragos (---.workpage.ro)
Date: July 09, 2024 07:36AM

Hi
I see in php error log 4 warnings:

1) PHP Warning: Undefined variable $w_wampHttpsHelpAuto in D:\wamp64\scripts\refresh.php on line 625
PHP Stack trace:
PHP 1. {main}() D:\wamp64\scripts\refresh.php:0

2) PHP Warning: Undefined variable $w_wampHttpsHelpAuto in D:\wamp64\scripts\refresh.php on line 637
PHP Stack trace:
PHP 1. {main}() D:\wamp64\scripts\refresh.php:0

3) PHP Warning: Undefined variable $w_wampHttpsHelpAuto in D:\wamp64\wampmanager.tpl on line 158
PHP Stack trace:
PHP 1. {main}() D:\wamp64\scripts\refresh.php:0
PHP 2. require() D:\wamp64\scripts\refresh.php:720
4) PHP Warning: Undefined variable $w_wampHttpsHelpManual in D:\wamp64\wampmanager.tpl on line 159
PHP Stack trace:
PHP 1. {main}() D:\wamp64\scripts\refresh.php:0
PHP 2. require() D:\wamp64\scripts\refresh.php:720

Files with problems are here:

[mega.nz]

What can i do?

===========================
thank you,
Dragos
===========================
I use:
windows 10 x64 bit
wampserver 3.3.6 (64bit)
php 8.3.9
mysql 9.0.1
phpmyadmin 5.2.1
apache 2.4.62
MariaDB 11.4.2

Options: ReplyQuote
Re: php refresh.php gives error
Posted by: Otomatic (Moderator)
Date: July 09, 2024 08:46AM

Hi,

> What can I do ?
Apply Tray Menu Manager 3.2.6.5 update

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote
Re: php refresh.php gives error
Posted by: Dragos (---.workpage.ro)
Date: July 10, 2024 06:48AM

I have already done the update.

Edit: I try to reinstall it and now work fine...Thank you very much....

===========================
thank you,
Dragos
===========================
I use:
windows 10 x64 bit
wampserver 3.3.6 (64bit)
php 8.3.9
mysql 9.0.1
phpmyadmin 5.2.1
apache 2.4.62
MariaDB 11.4.2



Edited 1 time(s). Last edit at 07/10/2024 07:07AM by Dragos.

Options: ReplyQuote


Sorry, only registered users may post in this forum.