Working with font-awesome 4.7 in extjs 7.3 - font-awesome

I was upgrading an app build with an old extjs framework version (v 6.7) which used the old font-awesome package up to v4.7 I guess. I upgraded the app now to the 7.3 framework version which uses the new font-awesome package. Now my question is, is there a possibility to use the old package instead? I tried just swapping out the package folders but sencha cmd then throws a fashion error like this:
[LOG] Fashion Error : Reference to undeclared variable : $fa_fw_width :
[ERR]
[ERR] BUILD FAILED
[ERR] com.sencha.exceptions.ExBuild: Fashion build exited with code : 1
[ERR] at net.sf.antcontrib
[ERR] .logic.IfTask.execute(IfTask.java:217)
What I tried as well was swapping the data in the ext\packages\font-awesome\resources\fonts folder, which seemed to make no difference.
and swapping out both folders (\resources and \sass) lead to this building failure:
[LOG] Fashion Error : Reference to undeclared variable : $fa_var_thumbtack :
[ERR]
[ERR] BUILD FAILED
[ERR] com.sencha.exceptions.ExBuild: Fashion build exited with code : 1
[ERR] at org.apache.tools.
[ERR] ant.taskdefs.Sequential.execute(Sequential.java:68)

Related

Springboot version upgrade - my sql error

We are trying to upgrade our project through build.gradle dependencies :
spring-boot from version 1.5.7 to 2.3.3
Gradle from version Gradle-4.8-all to Gradle-6.4.1-all
We are getting the following error:
Error creating bean with name 'flywayInitializer' defined in class path resource [org/springframework/boot/autoconfigure/flyway/FlywayAutoConfiguration$FlywayConfiguration.class]: Invocation of init method failed; nested exception is org.flywaydb.core.internal.command.DbMigrate$FlywayMigrateException:
Migration V3__Sequence_Table.sql failed
---------------------------------------
SQL State : 42001
Error Code : 42001
Message : Syntax error in SQL statement "DELIMITER[*]
The JDBC connection URL was mentioned as below earlier.
o.f.c.internal.database.DatabaseFactory : Database: jdbc:mysql://xxxxx:3306/mydb (MySQL 5.7)
This has been changed as below now,
o.f.c.internal.database.DatabaseFactory : Database: jdbc:h2:mem:testdb (H2 1.4)
Is this the cause of the above flyway migration error?
problem:
Run command for jar file is a problem for this project `
Dspring.config.location=run.properties
this commad execute only run.properties
solution:
Instead of the above run command, you should try this run command for the jar file
Dspring.config.additional-location=run.properties
I was try for my project and this was working well

Error App\\Application when upgrading version of CakePHP from 3.6 to 3.7

My application is working if the version of my cake is 3.6.7 then after upgrading it to version 3.7.* it causes an error when running my application.
here's the error at apache:
PHP Fatal error: Uncaught Error: Class 'App\Application' not found
in /var/www/html/test/webroot/index.php:37\nStack trace:\n#0 {main}\n
thrown

Angular6 getting error when building site for production

I was using Angular: 6.0.3 and when I updated my angular using npm update I am getting error when I am trying to build site for production.
When I am running command:
ng build --prod
I am getting error:
ERROR in ./src/app/app.module.ngfactory.js Module build failed: TypeError: Cannot read property '_statSync' of undefined
Current angular version is: 6.1.10
Full error you can see it here:Full error report link
That error is because of the version of cache-loader in package.json file. just run npm update and you will get cache-loader 1.2.5 they have fixed this in updated version.

CakePHP DebugKit error

I get this error in my CakePHP 3 app
Fatal error: Call to undefined method Cake\Database\Query::toArray() in /home/rrd/public_html/sanga/vendor/cakephp/debug_kit/src/Panel/VariablesPanel.php on line 77
Cake 3.1.8
DebugKit 3.2.4
Any idea what is this?
Update: It seems the error comes up when I have some sql error.

Error Message not generated

1 - Build flex on Windows 7 64 bits, and when error is thrown, i can get both the error code and error Message
2015/06/15 16:47:26:192 [ERROR] MyClass Error: Error #3013: File or directory is in use.
at flash.filesystem::FileStream/open()
at MyClass/openCsv()
...
2 - Build flex on Windows 2008 R2 64 Bits, and when error is thrown, i can get only the error code, but not the error message
2015/06/15 17:15:17:215 [ERROR] MyClass Error: Error #3013
at MyClass/openCsv()
...
Thanks for your help :)
This issue was not due to the operating system
The response is : We can get the error message only in debug mode, but not in production mode
Also, you can take a look to the previous answers:
Get Full Exception Error with Flex