Community Forum

Please read the intro before joining/posting. Thank you.

If you have questions about our 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. We'll do our 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 us and we'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. We don't employ translators and we'll be unable to understand your message properly and will probably delete it.
SOFTWARE: Each software has it's own forum. Software here is NOT supported. Posts about this software will be deleted. Supported software questions ONLY please.
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 (to deter spammers) and must be copied / pasted into your browser address bar.

            

You are not logged in.

Installation problems.Posts in the Maian Greetings forum by Klauwaart
Klauwaart
03-12-2023 11:30:42

Hello,
When trying to install Maian Greetings, all I get is a red band on top saying "Database Error. Check software log for more details.".
I did everything as in the instructions and here is the log file:
"Date/Time: 3 December 2023 @ 05:46:57
Code: 2002
Error: php_network_getaddresses: getaddrinfo failed: Name or service not known
File: /home/mv44motk/vlaamseradio.co.uk/greetings/control/classes/system/class.db.php
Line: 502"
And here is _cfg.php:
"<?php

/*----------------------------------------------------------------------------------
  SAMPLE CONFIG FILE:
  Rename or copy this file as '_cfg.php'.
 
  EDIT VALUES ON THE RIGHT, DO NOT CHANGE THE VALUES IN CAPITALS!!!
------------------------------------------------------------------------------------*/

/* DATABASE CONNECTION
   If you are unsure of your database credentials, contact your host
----------------------------------------------------------------------*/

/* MySQL host */
define('localhost', 'Your host name goes here');

/* MySQL username */
define('mv44motk_kaarter', 'Your username goes here');

/* MySQL password */
define('************8', 'Your password goes here');

/* MySQL database name */
define('mv44motk_kaarten', 'Your database name goes here');

/* Table prefix. You can have multiple installations in one database if you give each
   a unique prefix. Only numbers, letters, and underscores
*/
define('DB_PREFIX', 'mgr_');

/* Charset used to create database tables. If unsure, don't change. */
define('DB_CHAR_SET', 'utf8');

/* MySQL locale. If unsure, don't change.
   http://dev.mysql.com/doc/refman/5.0/en/locale-support.html
*/
define('DB_LOCALE', 'en_GB');

/* MySQL date/time adjustment. You can also use 'system'. May not need changing. */
define('DB_TIMEZONE', '+00:00');


/* ADMIN LOGIN
   Make sure your details are secure and hard to guess
-------------------------------------------------------------*/

/* Admin login username */
define('Admino', 'Your login username goes here');

/* Admin login password */
define('************', 'Your login password goes here');

/* Optional. Enter IP addresses (comma delimited) for IP restriction on login */
define('LG_RESTRICT_BY_IP', '');


/* SECURITY SALT / HASH
   Random mix of alphanumeric and special characters to encrypt session/cookie data.
   Generate hash @ https://www.maianmedia.com/services/keys/
-----------------------------------------------------------------------------------------*/

define('(5}sc9vDb6oPLB4QMCad!AeS<W#Y*mI,xq)$80OpXRw>%yr:&1KJhG;2TU^fF+@EVHjgu-il3znZ7t[.k_N', 'Your secret key value goes here');

?>"
If more information is required, please ask.
Thanks in advance.

maiandavid
04-12-2023 01:16:19

Sorry, but I'll be honest with you, I'm completely speechless. I guess you did not read the instructions at all? lol.

EDIT VALUES ON THE RIGHT, DO NOT CHANGE THE VALUES IN CAPITALS!!!

So why have you filled out the information like this?

define('mv44motk_kaarter', 'Your username goes here');

The info says "Your username goes here". That text means your username goes there. So maybe check again. This is why the system cannot load, the database parameters now don't exist. An example of what it should be:

define('DB_USER', 'Your username goes here');
define('DB_USER', 'mv44motk_kaarter');

David - Lead Developer/Programmer
www.maianmedia.com
Klauwaart
04-12-2023 02:19:30

Oops, yes, I must have been millions of miles away.

However, I've corrected all that but the error is srill there.
What now, please?

maiandavid
06-12-2023 08:31:48

Your connection info or the parameters are still wrong, this is why you receive the "php_network_getaddresses: getaddrinfo failed" error.

Are you 100% sure it is correct?

David - Lead Developer/Programmer
www.maianmedia.com
Klauwaart
16-12-2023 12:33:14

I got there now (at the moment I am sitting at home fighting off pneumonia, so the head isn't working full blast either).
However, what I have now is "where has my text gone"?
Take a look at this screen shot: [img=Image Test]https://www.vlaamseradio.co.uk/img/maiangreet.png[/img]
Once I have set it all up, the Dutch translation will be with you soon.

maiandavid
23-12-2023 16:32:00

Merry Christmas.

That image means the language files are not loading correctly, so either they are edited incorrectly or they are missing. Any error log in the 'logs' folder?

David - Lead Developer/Programmer
www.maianmedia.com
Klauwaart
23-12-2023 17:52:12

Hi, David,
Merry Christmas to you too.
I just started from scratch,

So, to cut a long story short, I re-uploaded everything, set permissions etc. and then ran everything again from the install/ directory.

The only thing that happens now is that I get a popup that not all DB tables installed, and indeed, there is one missing (don't know which one but instead of 18 there are now 17, and no logs to find).

Any further ideas, please?

Cheers.

maiandavid
28-12-2023 10:51:16

Enable install logging in:
install/control/config.php

Then run the installer again and view the logs folder, there should be a log with the error why the table couldn't be created.

David - Lead Developer/Programmer
www.maianmedia.com
Klauwaart
16-01-2024 14:15:12

maiandavid wrote:
Enable install logging in:
install/control/config.php

Then run the installer again and view the logs folder, there should be a log with the error why the table couldn't be created.


OK, thank you.

Here is the log file:

Klauwaart
16-01-2024 14:17:08

maiandavid wrote:
Enable install logging in:
install/control/config.php

Then run the installer again and view the logs folder, there should be a log with the error why the table couldn't be created.


OK, thank you.

Here is the log file:

Script: Maian Greetings
Script Version: 3.3
PHP Version: 7.4.33
Server Software: Apache
Platform: Windows
===========================================================================
Operation/Detail: Table added: blocked
---------------------------------------------------------------------------
Operation/Detail: Table added: admin_pages
---------------------------------------------------------------------------
Operation/Detail: Table added: boxes
---------------------------------------------------------------------------
Operation/Detail: Table added: categories
---------------------------------------------------------------------------
Operation/Detail: Table added: cfg
---------------------------------------------------------------------------
Operation/Detail: Table added: ecards
---------------------------------------------------------------------------
Operation/Detail: Table added: ecards_category
---------------------------------------------------------------------------
Operation/Detail: Table added: ecards_emojis
---------------------------------------------------------------------------
Operation/Detail: Table added: ecards_history
---------------------------------------------------------------------------
Operation/Detail: Table added: ecards_log
---------------------------------------------------------------------------
Operation/Detail: Table added: ecards_music
---------------------------------------------------------------------------
Table: ecards_ecards_poems
Operation/Detail: Create
On Line: 22
In File: /home/mv44motk/vlaamseradio.co.uk/greetings/install/control/tables.php
---------------------------------------------------------------------------
Operation/Detail: Table added: ecards_rec
---------------------------------------------------------------------------
Operation/Detail: Table added: ecards_uploads
---------------------------------------------------------------------------
Operation/Detail: Table added: pages
---------------------------------------------------------------------------
Operation/Detail: Table added: settings
---------------------------------------------------------------------------
Operation/Detail: Table added: social
---------------------------------------------------------------------------
Operation/Detail: Table added: themes
---------------------------------------------------------------------------

By the way, I wish you a happy and prosperous 2024.

maiandavid
16-01-2024 16:22:29

Same to you too, Happy New Year. smile

Ok, so no errors there, so I assume it is stopping when adding the default data after it creates the tables. I notice it has created a table called 'ecards_ecards_poems', with the prefix twice, so I'm guessing it stops when it trying to add the default poems.

Let me check the installer and I'll get back you soon.

David - Lead Developer/Programmer
www.maianmedia.com
Klauwaart
07-02-2024 12:38:10

maiandavid wrote:
Same to you too, Happy New Year. smile

Ok, so no errors there, so I assume it is stopping when adding the default data after it creates the tables. I notice it has created a table called 'ecards_ecards_poems', with the prefix twice, so I'm guessing it stops when it trying to add the default poems.

Let me check the installer and I'll get back you soon.


Hi David,
I was wondering if you found anything yet, as I have not had any reply yet (or maybe the forum reply function has an issue).
Just curious.
Kind regards.
Klauwaart.

Klauwaart
07-02-2024 12:38:48

maiandavid wrote:
Same to you too, Happy New Year. smile

Ok, so no errors there, so I assume it is stopping when adding the default data after it creates the tables. I notice it has created a table called 'ecards_ecards_poems', with the prefix twice, so I'm guessing it stops when it trying to add the default poems.

Let me check the installer and I'll get back you soon.


Hi David,
I was wondering if you found anything yet, as I have not had any reply yet (or maybe the forum reply function has an issue).
Just curious.
Kind regards.
Klauwaart.

maiandavid
09-02-2024 10:10:31

I ran it through offline with no issues, so not sure at the moment. Sorry for the delay btw.

David - Lead Developer/Programmer
www.maianmedia.com
100% Free SoftwareSoftware Versions, Development, Docs & UpgradesHostingNewsletter
Made with in the U.K & Hong Kong

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