WebSite X5Help Center

 
Lars S.
Lars S.
User

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

Autore: Lars S.
Visite 1445, Followers 1, Condiviso 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.

Postato il
12 RISPOSTE
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.

Leggi di più
Postato il da Franz-Josef H.
Lars S.
Lars S.
User
Autore

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...

Leggi di più
Postato il da 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.

Leggi di più
Postato il da Franz-Josef H.
Lars S.
Lars S.
User
Autore

No: That did not work either...

Leggi di più
Postato il da Lars S.
Andreas S.
Andreas S.
Moderator
Utente del mese 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?

Leggi di più
Postato il da Andreas S.
Andreas S.
Andreas S.
Moderator
Utente del mese 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 ?

Leggi di più
Postato il da Andreas S.
Lars S.
Lars S.
User
Autore

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

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

Leggi di più
Postato il da Lars S.
Andreas S.
Andreas S.
Moderator
Utente del mese 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".

Leggi di più
Postato il da Andreas S.
Lars S.
Lars S.
User
Autore

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.

Leggi di più
Postato il da Lars S.
Lars S.
Lars S.
User
Autore

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?

Leggi di più
Postato il da Lars S.
Lars S.
Lars S.
User
Autore

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

Leggi di più
Postato il da Lars S.