Giter Club home page Giter Club logo

Comments (7)

giuliopons avatar giuliopons commented on May 29, 2024 1

Yes.
Great.

Once I used zero dates, but on some servers I noticed that they aren't allowed, so I've managed to change them to a default old date (such as 1970-01-01) but doing this changes sometimes doesn't work. Normally when these problems happen I ask for database credentials and manually fix the db.
You did the same. Well done.

I'm working to fix PHP 8.2 warnings!

from adadmin.

giuliopons avatar giuliopons commented on May 29, 2024 1

The new version 4.2.4 should be compatible with PHP 8.2
Please check it! :-)

from adadmin.

shaahrokh avatar shaahrokh commented on May 29, 2024

As well with PHP 8.1

Deprecated: Optional parameter $valore declared before required parameter $arrayvalori is implicitly treated as a required parameter in ../src/_include/formcampi.class.php on line 646

from adadmin.

giuliopons avatar giuliopons commented on May 29, 2024

As well with PHP 8.1

Deprecated: Optional parameter $valore declared before required parameter $arrayvalori is implicitly treated as a required parameter in ../src/_include/formcampi.class.php on line 646

Can you tell me your AdAdmin version? I think I've already solved that problem.

from adadmin.

shaahrokh avatar shaahrokh commented on May 29, 2024

You're right. unfortunately our AdAdmin version is 3.98! Is there any way or document in order to update to latest version, because when I use the latest version of files I faced to schema error for database! As you mentioned in Document and the discussion part since version 3.99 updating process became simple way.

from adadmin.

giuliopons avatar giuliopons commented on May 29, 2024

Here it is:
#32 (comment)

When you update the database should be automatically updated. Have you tried?
Giulio

from adadmin.

shaahrokh avatar shaahrokh commented on May 29, 2024

I did but I faced this error:

Error executing query:
ALTER TABLE `7banner` CHANGE `dt_maxday_date` `dt_maxday_date` DATE NOT NULL DEFAULT '1970-01-01';
.

Error:

Invalid default value for 'dt_giorno1'

After that I had to run this query updated:

ALTER TABLE `7banner` CHANGE `dt_giorno1` `dt_giorno1` DATE NOT NULL DEFAULT '1970-01-01',
CHANGE `dt_giorno2` `dt_giorno2` DATE NOT NULL DEFAULT '1970-01-01',
CHANGE `dt_maxday_date` `dt_maxday_date` DATE NOT NULL DEFAULT '1970-01-01' ;

Next I faced an error about unknown id_coinbase , So I had to run this query:

ALTER TABLE `7banner_ordini` ADD `id_coinbase` VARCHAR(30) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT 'Coinbase charge' AFTER `paypal_user`;

Next:

ALTER TABLE `7banner_ordini` CHANGE `id_coinbase` `id_coinbase` VARCHAR(30) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '' COMMENT 'Coinbase charge id';

Finally I could update project and it is compaible with PHP 8.1 :)

from adadmin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.