Jump to content
Sign in to follow this  
sandrasp

Help solving errors needed

Recommended Posts

Hi everyone.

I recently place my site online and still have some problems/errors to fix.
sadly my php knowledse is not huge, and some error's are above my grade of understanding php🙈

Since my iDeal isn't working and some of the erro'rs are in ideal.php. I think ill start there? so hopefully solving the error's in there, wil also solve the ideal not working problem.

lets start with the first 2 error's....and hopefully you all wil work that way also throught the other error's... a few at a time.😁

so i"m in payment details when i want to order something...
and I see 2 error's there

 

first:
Notice: Use of undefined constant token - assumed 'token' in /var/www/vhosts/sandraspetsparadise.nl/httpdocs/shop/includes/classes/idealm.php on line 767
If i go to the named file then on line 767 it looks likes this:

&& token != null

 

seccond:
Notice: Undefined variable: res in /var/www/vhosts/sandraspetsparadise.nl/httpdocs/shop/includes/classes/idealm.php on line 722
so if I go to that named file it shows on line 722 this:

$res .= fgets($fsp, 128);


Can anyone tell me how to fix these errors?
Thanks in advance!

Edited by sandrasp

Share this post


Link to post
Share on other sites

The 2nd error is due to the variable $res not being initialised.

You can try adding $res = ""; above line 128 and see if that resolves the error.

The 1st error is due to an undefined constant, assuming token is meant to be a constant, and its not a typo ($token perhaps). maybe someone who knows this script can shed more light.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×