WebSite X5Help Center

 
Lars S.
Lars S.
User

Warning: Undefined variable $fromcart in /customers/6/6/4/  en

Autor: Lars S.
Visited 1447, Followers 1, Udostępniony 0  

Why do I get this message when I will login on my private page?

Warning: Undefined variable $fromCart in /customers/6/6/4/user.dk/httpd.www/DB/imlogin.php on line 68

- It is a new warning - I have not seen it before.

Posted on the
12 ODPOWIEDZI
Franz-Josef H.
Franz-Josef H.
Moderator

You may be using an outdated php version. You need at least 7.1, but 7.4 or 8.0 is better. You should be able to set it up with your provider.

Czytaj więcej
Posted on the from Franz-Josef H.
Lars S.
Lars S.
User
Autor

Hi Franz-Josef 

Well. the php version I used was 7.4 - and I tried to set the version to 8.0 but still the same warning...

Czytaj więcej
Posted on the from Lars S.
Franz-Josef H.
Franz-Josef H.
Moderator

It is possible that old and new php code may have mixed up on the server. Therefore it is the best to delete the webspace and upload the entire project again.

Czytaj więcej
Posted on the from Franz-Josef H.
Lars S.
Lars S.
User
Autor

No: That did not work either...

Czytaj więcej
Posted on the from Lars S.
Andreas S.
Andreas S.
Moderator
Najlepszy Użytkownik miesiąca DE

Which private page is it where you want to log in and then get this error message?

This error occurs mostly when you generate a database on the PC via "xamp" and use it in WSX5! Is this the case with you?

Czytaj więcej
Posted on the from Andreas S.
Andreas S.
Andreas S.
Moderator
Najlepszy Użytkownik miesiąca DE

Can you update to the EVO V2021.5.4 version?
Maybe the error is with the older version.

What does the URL of the website say?  https://laboss.dk/DB or https://laboss.dk ?

Czytaj więcej
Posted on the from Andreas S.
Lars S.
Lars S.
User
Autor

Well, my license run out so no updates...

... The URLs is where the page we are talking about is linked from...(?!)

Czytaj więcej
Posted on the from Lars S.
Andreas S.
Andreas S.
Moderator
Najlepszy Użytkownik miesiąca DE

IF you have uploaded your website to a folder for a short time, you must also write the folder behind your domain. So when exporting to the Internet, you must specify the correct domain with folder in the "URL of the website".

Czytaj więcej
Posted on the from Andreas S.
Lars S.
Lars S.
User
Autor

I know - and have done that. And it has been working for mounth, I just resently recieved the php-message on that specific login page. All things works - I just wondered why this message... nothing else.

Czytaj więcej
Posted on the from Lars S.
Lars S.
Lars S.
User
Autor

I have now made a new project - and I get the same Warning when I come the locked page
https://laboss.dk/Pr/imlogin.php?loginstatus=-3
Warning: Undefined variable $fromCart in /customers/6/6/4/laboss.dk/httpd.www/Pr/imlogin.php on line 68
Line 68 in imlogin.php reads:
<?php if ($fromCart): ?>
So why do I get this warning?

Czytaj więcej
Posted on the from Lars S.
Lars S.
Lars S.
User
Autor

Ok – let me summarize: You made an update – just before my update-license ran out. But the update was with flaws – and now you want me to buy a new up-date license – for correcting your faults?

Well – I have found out that I can turn on “Do not show PHP-error messages” at my (domain) provider, so I will do that. But…frown

Czytaj więcej
Posted on the from Lars S.