Community Forum

If you have questions about my software, chances are this forum has the answers.

You'll need to register before you can post on the forum to ask your question or to answer another one. A reply will be posted to each and every question that is asked so there is no need to double post or bump your post. I do my best to answer promptly but in some cases it may take a day or two. If you bump your post, it may be removed. Bear with me and I`ll get your question answered quickly.

Here are a few tips to help you to get your questions answered more rapidly.

IMPORTANT: Posts in English only. I don't have a translator and I'll be unable to understand your message properly and will probably delete it.
SEARCH: Use the search option to see if your question has been answered on the forum before now or if there is an answer in the documentation of your software.
PERSONAL SUPPORT: If you have purchased a commercial version of any software, using the contact option at the licence centre ensures a faster response.
AUTO DELETION: Accounts older than 5 days, with no posts or topics, are automatically deleted. Only register if you are thinking of posting.
LINKS: Any links posted are not clickable and must be copied / pasted into your browser address bar.

You are not logged in.

#1 Klauwaart 31-01-2020 02:13:54

Hi everyone,
All of a sudden my script has been throwing an error, for which it tells me to llok into "logs/errors.log".
The error seems to affect my admin part only, the first symptom is a notice on the bottom that no data can be found in the database, yet my items display on the shop part.
Then I get the error message in various parts of the settings, eg. email.

Looking at the log file shows me the following:

- - - - - - - - - - - - - - - - - - -
[Error Code: 8] Undefined variable: lng_1_2_settings
[Date/Time: 31 January 2020 @ 01:49AM]
[Error on line 91 in file /home/mvmotk/public_html/shopnl/admin/templates/email.php]
- - - - - - - - - - - - - - - - - - -
[Error Code: 8] Undefined variable: lng_1_2_settings
[Date/Time: 31 January 2020 @ 01:49AM]
[Error on line 137 in file /home/mvmotk/public_html/shopnl/admin/templates/email.php]
- - - - - - - - - - - - - - - - - - -
[Error Code: 8] Undefined variable: lng_1_2_settings
[Date/Time: 31 January 2020 @ 01:49AM]
[Error on line 24 in file /home/mvmotk/public_html/shopnl/admin/templates/email.php]
- - - - - - - - - - - - - - - - - - -
[Error Code: 8] Undefined variable: lng_1_2_settings
[Date/Time: 31 January 2020 @ 01:49AM]
[Error on line 26 in file /home/mvmotk/public_html/shopnl/admin/templates/email.php]
- - - - - - - - - - - - - - - - - - -
[Error Code: 8] Undefined variable: lng_1_2_settings
[Date/Time: 31 January 2020 @ 01:49AM]
[Error on line 27 in file /home/mvmotk/public_html/shopnl/admin/templates/email.php]
- - - - - - - - - - - - - - - - - - -
[Error Code: 8] Undefined variable: lng_1_2_settings
[Date/Time: 31 January 2020 @ 01:49AM]
[Error on line 91 in file /home/mvmotk/public_html/shopnl/admin/templates/email.php]
- - - - - - - - - - - - - - - - - - -
[Error Code: 8] Undefined variable: lng_1_2_settings
[Date/Time: 31 January 2020 @ 01:49AM]
[Error on line 137 in file /home/mvmotk/public_html/shopnl/admin/templates/email.php]
- - - - - - - - - - - - - - - - - - -
[Error Code: 8] Undefined variable: lng_1_2_admin
[Date/Time: 31 January 2020 @ 01:55AM]
[Error on line 35 in file /home/mvmotk/public_html/shopnl/admin/templates/dashboard.php]
- - - - - - - - - - - - - - - - - - -
[Error Code: 8] Undefined variable: lng_1_2_admin
[Date/Time: 31 January 2020 @ 01:55AM]
[Error on line 47 in file /home/mvmotk/public_html/shopnl/admin/templates/dashboard.php]
- - - - - - - - - - - - - - - - - - -
[Error Code: 8] Undefined variable: lng_1_2_admin
[Date/Time: 31 January 2020 @ 01:55AM]
[Error on line 59 in file /home/mvmotk/public_html/shopnl/admin/templates/dashboard.php]
- - - - - - - - - - - - - - - - - - -
[Error Code: 8] Undefined variable: lng_1_2_admin
[Date/Time: 31 January 2020 @ 01:55AM]
[Error on line 35 in file /home/mvmotk/public_html/shopnl/admin/templates/dashboard.php]
- - - - - - - - - - - - - - - - - - -
[Error Code: 8] Undefined variable: lng_1_2_admin
[Date/Time: 31 January 2020 @ 01:55AM]
[Error on line 47 in file /home/mvmotk/public_html/shopnl/admin/templates/dashboard.php]
- - - - - - - - - - - - - - - - - - -
[Error Code: 8] Undefined variable: lng_1_2_admin
[Date/Time: 31 January 2020 @ 01:55AM]
[Error on line 59 in file /home/mvmotk/public_html/shopnl/admin/templates/dashboard.php]
- - - - - - - - - - - - - - - - - - -
[Error Code: 8] Undefined variable: lng_1_2_settings
[Date/Time: 31 January 2020 @ 01:55AM]
[Error on line 14 in file /home/mvmotk/public_html/shopnl/admin/templates/settings.php]
- - - - - - - - - - - - - - - - - - -
[Error Code: 8] Undefined variable: lng_1_2_settings
[Date/Time: 31 January 2020 @ 01:55AM]
[Error on line 19 in file /home/mvmotk/public_html/shopnl/admin/templates/settings.php]
- - - - - - - - - - - - - - - - - - -
[Error Code: 8] Undefined variable: lng_1_2_settings
[Date/Time: 31 January 2020 @ 01:55AM]
[Error on line 20 in file /home/mvmotk/public_html/shopnl/admin/templates/settings.php]
- - - - - - - - - - - - - - - - - - -
[Error Code: 8] Undefined variable: lng_1_2_sett_aff
[Date/Time: 31 January 2020 @ 01:55AM]
[Error on line 21 in file /home/mvmotk/public_html/shopnl/admin/templates/settings.php]
- - - - - - - - - - - - - - - - - - -
[Error Code: 8] Undefined variable: lng_1_2_settings
[Date/Time: 31 January 2020 @ 01:55AM]
[Error on line 265 in file /home/mvmotk/public_html/shopnl/admin/templates/settings.php]
- - - - - - - - - - - - - - - - - - -
[Error Code: 8] Undefined variable: lng_1_2_settings
[Date/Time: 31 January 2020 @ 01:55AM]
[Error on line 339 in file /home/mvmotk/public_html/shopnl/admin/templates/settings.php]
- - - - - - - - - - - - - - - - - - -
[Error Code: 8] Undefined variable: lng_1_2_settings
[Date/Time: 31 January 2020 @ 01:55AM]
[Error on line 382 in file /home/mvmotk/public_html/shopnl/admin/templates/settings.php]
- - - - - - - - - - - - - - - - - - -
[Error Code: 8] Undefined variable: lng_1_2_settings
[Date/Time: 31 January 2020 @ 01:55AM]
[Error on line 391 in file /home/mvmotk/public_html/shopnl/admin/templates/settings.php]
- - - - - - - - - - - - - - - - - - -
[Error Code: 8] Undefined variable: lng_1_2_settings
[Date/Time: 31 January 2020 @ 01:55AM]
[Error on line 406 in file /home/mvmotk/public_html/shopnl/admin/templates/settings.php]
- - - - - - - - - - - - - - - - - - -
[Error Code: 8] Undefined variable: lng_1_2_settings
[Date/Time: 31 January 2020 @ 01:55AM]
[Error on line 410 in file /home/mvmotk/public_html/shopnl/admin/templates/settings.php]
- - - - - - - - - - - - - - - - - - -
[Error Code: 8] Undefined variable: lng_1_2_sett_aff
[Date/Time: 31 January 2020 @ 01:55AM]
[Error on line 425 in file /home/mvmotk/public_html/shopnl/admin/templates/settings.php]
- - - - - - - - - - - - - - - - - - -
[Error Code: 8] Undefined variable: lng_1_2_sett_aff
[Date/Time: 31 January 2020 @ 01:55AM]
[Error on line 429 in file /home/mvmotk/public_html/shopnl/admin/templates/settings.php]
- - - - - - - - - - - - - - - - - - -
[Error Code: 8] Undefined variable: lng_1_2_sett_aff
[Date/Time: 31 January 2020 @ 01:55AM]
[Error on line 433 in file /home/mvmotk/public_html/shopnl/admin/templates/settings.php]
- - - - - - - - - - - - - - - - - - -
[Error Code: 8] Undefined variable: lng_1_2_sett_aff
[Date/Time: 31 January 2020 @ 01:55AM]
[Error on line 437 in file /home/mvmotk/public_html/shopnl/admin/templates/settings.php]
- - - - - - - - - - - - - - - - - - -
[Error Code: 8] Undefined variable: lng_1_2_sett_aff
[Date/Time: 31 January 2020 @ 01:55AM]
[Error on line 441 in file /home/mvmotk/public_html/shopnl/admin/templates/settings.php]
- - - - - - - - - - - - - - - - - - -
[Error Code: 8] Undefined variable: lng_1_2_sett_aff
[Date/Time: 31 January 2020 @ 01:55AM]
[Error on line 445 in file /home/mvmotk/public_html/shopnl/admin/templates/settings.php]
- - - - - - - - - - - - - - - - - - -
[Error Code: 8] Undefined variable: lng_1_2_sett_aff
[Date/Time: 31 January 2020 @ 01:55AM]
[Error on line 454 in file /home/mvmotk/public_html/shopnl/admin/templates/settings.php]
- - - - - - - - - - - - - - - - - - -
[Error Code: 8] Undefined variable: lng_1_2_settings
[Date/Time: 31 January 2020 @ 01:55AM]
[Error on line 14 in file /home/mvmotk/public_html/shopnl/admin/templates/settings.php]
- - - - - - - - - - - - - - - - - - -
[Error Code: 8] Undefined variable: lng_1_2_settings
[Date/Time: 31 January 2020 @ 01:55AM]
[Error on line 19 in file /home/mvmotk/public_html/shopnl/admin/templates/settings.php]
- - - - - - - - - - - - - - - - - - -
[Error Code: 8] Undefined variable: lng_1_2_settings
[Date/Time: 31 January 2020 @ 01:55AM]
[Error on line 20 in file /home/mvmotk/public_html/shopnl/admin/templates/settings.php]
- - - - - - - - - - - - - - - - - - -
[Error Code: 8] Undefined variable: lng_1_2_sett_aff
[Date/Time: 31 January 2020 @ 01:55AM]
[Error on line 21 in file /home/mvmotk/public_html/shopnl/admin/templates/settings.php]
- - - - - - - - - - - - - - - - - - -
[Error Code: 8] Undefined variable: lng_1_2_settings
[Date/Time: 31 January 2020 @ 01:55AM]
[Error on line 265 in file /home/mvmotk/public_html/shopnl/admin/templates/settings.php]
- - - - - - - - - - - - - - - - - - -
[Error Code: 8] Undefined variable: lng_1_2_settings
[Date/Time: 31 January 2020 @ 01:55AM]
[Error on line 339 in file /home/mvmotk/public_html/shopnl/admin/templates/settings.php]
- - - - - - - - - - - - - - - - - - -
[Error Code: 8] Undefined variable: lng_1_2_settings
[Date/Time: 31 January 2020 @ 01:55AM]
[Error on line 382 in file /home/mvmotk/public_html/shopnl/admin/templates/settings.php]
- - - - - - - - - - - - - - - - - - -
[Error Code: 8] Undefined variable: lng_1_2_settings
[Date/Time: 31 January 2020 @ 01:55AM]
[Error on line 391 in file /home/mvmotk/public_html/shopnl/admin/templates/settings.php]
- - - - - - - - - - - - - - - - - - -
[Error Code: 8] Undefined variable: lng_1_2_settings
[Date/Time: 31 January 2020 @ 01:55AM]
[Error on line 406 in file /home/mvmotk/public_html/shopnl/admin/templates/settings.php]
- - - - - - - - - - - - - - - - - - -
[Error Code: 8] Undefined variable: lng_1_2_settings
[Date/Time: 31 January 2020 @ 01:55AM]
[Error on line 410 in file /home/mvmotk/public_html/shopnl/admin/templates/settings.php]
- - - - - - - - - - - - - - - - - - -
[Error Code: 8] Undefined variable: lng_1_2_sett_aff
[Date/Time: 31 January 2020 @ 01:55AM]
[Error on line 425 in file /home/mvmotk/public_html/shopnl/admin/templates/settings.php]
- - - - - - - - - - - - - - - - - - -
[Error Code: 8] Undefined variable: lng_1_2_sett_aff
[Date/Time: 31 January 2020 @ 01:55AM]
[Error on line 429 in file /home/mvmotk/public_html/shopnl/admin/templates/settings.php]
- - - - - - - - - - - - - - - - - - -
[Error Code: 8] Undefined variable: lng_1_2_sett_aff
[Date/Time: 31 January 2020 @ 01:55AM]
[Error on line 433 in file /home/mvmotk/public_html/shopnl/admin/templates/settings.php]
- - - - - - - - - - - - - - - - - - -
[Error Code: 8] Undefined variable: lng_1_2_sett_aff
[Date/Time: 31 January 2020 @ 01:55AM]
[Error on line 437 in file /home/mvmotk/public_html/shopnl/admin/templates/settings.php]
- - - - - - - - - - - - - - - - - - -
[Error Code: 8] Undefined variable: lng_1_2_sett_aff
[Date/Time: 31 January 2020 @ 01:55AM]
[Error on line 441 in file /home/mvmotk/public_html/shopnl/admin/templates/settings.php]
- - - - - - - - - - - - - - - - - - -
[Error Code: 8] Undefined variable: lng_1_2_sett_aff
[Date/Time: 31 January 2020 @ 01:55AM]
[Error on line 445 in file /home/mvmotk/public_html/shopnl/admin/templates/settings.php]
- - - - - - - - - - - - - - - - - - -
[Error Code: 8] Undefined variable: lng_1_2_sett_aff
[Date/Time: 31 January 2020 @ 01:55AM]
[Error on line 454 in file /home/mvmotk/public_html/shopnl/admin/templates/settings.php]
- - - - - - - - - - - - - - - - - - -

There are quite a few more of these, but they all seem to concern the same file.
Does that ring any bells?
The error messages have even taken over some of the fields in the settings windows.
Any help will be very much appreciated.
Frankie.

Last edited by Klauwaart (31-01-2020 14:32:28)

#2 msworld 01-02-2020 19:37:09

Hi Frankie,

Are you sure all the language files exist? It looks like this one is missing:
content/language/english/1.2.php

#3 Klauwaart 01-02-2020 22:48:07

Hi David,
This is in the Dutch translation of the script, the one I made.
But I'll have a look.
Thank you for your help.
Frankie.
Edit: I just checked, and everything seems to be in place.

Last edited by Klauwaart (01-02-2020 22:50:21)

#4 msworld 02-02-2020 09:35:50

The language file is missing or corrupt. It can't be anything else.

#5 Klauwaart 02-02-2020 16:17:36

I just noticed that Maian Pal is at version 1.2, and the language file is called "dutch 1_1.zip".
Could that have something to do with it (an upgrade of the translation needed)?

I have replaced the existing folder with the ones straight from the website and the issue is still there.
I do not seem to remember being asked to make adjustments to the language file.

Mystery.....
Edit: It is even a whole lot worse now.

Last edited by Klauwaart (02-02-2020 16:23:21)

#6 msworld 04-02-2020 11:05:28

Yes, the upgrade appendix in the docs says to add the new files for 1.2. Are you sure it's in the language folders? Those errors can't generate any other way.

#7 Klauwaart 04-02-2020 11:44:03
msworld wrote:

Are you sure it's in the language folders?

Probably not now.
The file says dutch1_1.zip
If not, send everything over and I'll do a new version of the traslation.
Regards,
Frankie.

#8 msworld 06-02-2020 09:04:05

Yes, the 1.1 language files won't have the 1.2 file. You just need to translate it and copy it to the dutch language folder.

#9 Klauwaart 06-02-2020 13:35:55
msworld wrote:

Yes, the 1.1 language files won't have the 1.2 file. You just need to translate it and copy it to the dutch language folder.

I have translated and uploaded 1.2.php, but it is still not working.
I see I can't attach here, so here is the Dutch 1.2.php:

<?php

/* LANGUAGE FILE
--------------------------------------*/

$lng_1_2_admin = array(
  'Beheer Adminbladzijden',
  'Adminbladzijden',
  'Selecteer eerste jaar',
  'Selecteer tweede jaar',
  'Bijwerken'
);

$lng_1_2_settings = array(
  'Admin Menu',
  'Reset koppelingen',
  'Enkel SSL/TLS - Certificaten niet verifiëren',
  'Mail Protocol',
  'SMTP',
  'PHP Mail Functie',
  'Stuur verkoopsverwittigingsemails naar kopers',
  'Stuur Contact Autoantwoord naar bezoeker',
  'Emails &amp; Verwittiging',
  'Als CleanTalk uitgeschakeld is, schakel eenvoudige Captcha in',
  'Voorwaarden',
  'Voorwaarden Informatie',
  'Schakel in bij afrekenen',
  'Schakel PDF Optie op kopers bestelbladzijde in'
);

$lng_1_2_sett_aff = array(
  'Maian Affiliate',
  'Volledige Url naar Maian Affiliate Installatie',
  'Affiliate API Code',
  'Affiliate Product ID',
  'Affiliate Url GET Parameter',
  'Commissie Percentage (%)',
  'Schakel Commissiesysteem in',
  'Schakel Affiliate Log in'
);

$lng_1_2_emails = array(
  're: Winkelnavraag'
);

$lng_1_2_sales = array(
  'Waar "Faktuurnr" is',
  'PDFs',
  'Faktuur',
  'Verpakkingsetiket',
  '',
  'Affiliate Code',
  'Waar "affiliate code" bevat'
);

$lng_1_2_products = array(
  'Doorzoek Downloads',
  'Geen productdownloads gevonden, probeer opnieuw aub'
);

$lng_1_2_checkout = array(
  'Bevestig dat u onze <a href="{url}" onclick="iBox.showURL(this.href,\'\',{width:850,height:550});return false">voorwaarden</a> aanvaardt aub.'
);

$lng_1_2_frontend = array(
  'Voer code in. Klik code om te verversen.',
  'Ongeldige code, probeer opnieuw aub. Klik code voor nieuwe afbeelding',
  'Lees en aanvaard onze voorwaarden aub, dank u'
);

?>

I don't know if anything further needs doing to make it work, please let me know, but this could now be added to the Dutch language pack .zip file.
Regards,
Frankie.

#10 msworld 06-02-2020 14:37:11

Thanks Frankie. smile

Same error as before or different error?

#11 Klauwaart 06-02-2020 14:49:03

Same error, but I re-uploaded my Dutch shop folder (including 1.2.php) and now everything works as it should.
So, the 1.2 file definitely belongs in the language pack zip.

Anyway, glad that is sorted.
Might be worth letting the makers of other language packs know and spread the word to users of my pack.
Kind regards,
Frankie.
Edit: The only thing wrong now is that my icons (Shopping basket, social media etc.) show as blank squares and that in the admin panel the version still shows as 1.1, but when I click on it the screen comes up, saying I am up to date with 1.2.

Last edited by Klauwaart (06-02-2020 15:23:47)

Board footer

Maian Script World - Free PHP Software for Personal or Business Use.
© 2003-2020 Maian Script World & David Ian Bennett.

2Checkout.com is an authorized reseller of goods and services provided by Maian Script World

Free PHP Software / Responsive PHP Scripts / Lightweight PHP Software / White Label PHP Software