Installing Laravel Backpack "no install" - laravel-backpack

I'm trying to install Backpack for Laravel on Windows Server 2012 (which may be part of the problem, but I can't find any instructions specifically for Windows). I'm following the directions here, and everything goes fine until I need to run "php artisan backpack:base:install" at which point I get this error:
[ReflectionException]
Class Backpack\Base\Backpack\Base\app\Console\Commands\Install does not exist
I assume it has something to do with the duplication of the "Backpack\Base" part, but explicitly giving it the path without the duplication or just saying install results in the same error. Likewise, same error with any other artisan commands later in the guide, such as php artisan vendor:publish --provider="Backpack\CRUD\CrudServiceProvider" --tag="public". Any advice would be really appreciated.

There was a problem with the 3.3.0 release, which has since been fixed. You must have tried to install it within the 1-hour timespan until we had time to properly test the release. A composer update should fix it for you. You'll then be able to run php artisan backpack:base:install without a glitch.
Cheers!

Related

php_intl.dll issue while installing moodle

I am trying to install moodle. It has been a very frustrating experience with the "Server Checks" page during the installation process with 2 issues.
php_extension for php_intl.dll is failing. I have done nearly everything that is written anywhere but the server check still fails.
php_setting for opcache.enable also fails. All the settings in php.ini as per recommendation has been made and yet this check doesn't pass.
One pointer which may be useful. from the command prompt, when i tried to do php -v to check version or if i run php.exe, it throws an error saying:
"PHP Warning: PHP Startup: Unable to load dynamic library 'D:\Moodle_34\server\php\ext\php_intl.dll' - The specified module could not be found. in Unknown on line 0"
moodle 3.4.3+
Windows 8.1 pro desktop
PHP 7.1.10
Apache 2.4
XAMPP 3.2.2
Any help would be most welcome.

Installing PHP 7.0.0RC2 with mysqli on Raspberry Pi B

Last week I installed PHP 7.0.0RC2 on my Raspberry Pi B.
I am able to view PHP pages, however, the problem is that I cannot connect to the database using mysqli (I know that mysql is no longer supported in PHP v7).
I ran the ./configure command with --with-mysqli=shared.
However, when I check which modules are installed using the php -m command, I do not see mysqli.
I tried adding extension=mysqli.so to the php.ini file.
It first complained that the mysqli.so file could not be found, so I tried copying the mysqli.so of my php5 version to the extensions folder.
However, this did not solve the problem and resulted in the following error message:
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20141001/mysqli.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20141001/mysqli.so: undefined symbol: zval_used_for_init in Unknown on line 0
Does anyone got any suggestions of how to get mysqli to work with my PHP7 installation on my Raspberry Pi?
You may find detailed information in the configure output, but it's pretty hard to catch, and if it's not a fatal error, won't stop the build going ahead when you make.
The recommended (read: only decent) driver for MySQLi is the MySQL Native Driver (mysqlnd).
If you want MySQLi to be built shared, you must also build mysqlnd shared, and everything that depends on it (PDO MySQL, for example).
It's going to be simpler to just build the native drivers static, using the configure option:
--with-mysqli=mysqlnd
Which will enable a static build of mysqlnd and mysqli.
If for some reason you really do want to build shared, then you'll need configure options that closely resemble, if not are exactly the same as:
--enable-mysqlnd=shared
--with-mysqli=shared,mysqlnd
Which will result in a shared build of mysqlnd and mysqli, requiring you to add extension=mysqlnd.so and extension=mysqli.so in the appropriate order (the latter depends on the former), in the appropriate place.
Remember to make distclean before you re-configure the build, surprising things will happen if you do not ;)

PHP5 - pgsql Module not loaded

I am trying to get work PostgresSQL with PHP, but i stuck on that apache error:
Call to undefined function pg_connect().
When i run phpinfo() i cannot see that my module is loaded, but i do not know why. The pgsql.ini files were loaded. And when i open them, i can see, that the extension is enabled extension=pgsql.so. Under /usr/lib64/php5/extensions there is the .so file. Even the permission are same like the other modules.
Any idea what am I doing wrong?
It would help if you could describe what operating system you are using. I'm assume Linux, but which distribution? One package that is often forgotten when installing postgresql and php is php5-pgsql. This is the connection between the two. For some reason I cannot explain, it is best if all three are installed together. So I suggest uninstalling postgresql and php and then installing postgresql, php5 and php5-pgsql. I hope this works for you!
I found it out. Some libraries where not found.
1.) First of all run php -version
2.) If there is an error where it described that some libraries are missing, you can solve it like me
3.) Search for the files on your system find / -name {LIBRARY NAME}
3a.) If you found them, just create a symlink to /usr/lib64
3b.) If not, find a way to get them and 3 3a

Error in Odoo8 installation- "column ir_ui_view.active does not exist"

I was running Openerp 7 earlier, then updated the code to Odoo8 RC1 on my Ubuntu 13.04, with Postgre Sql 1.16.1 database and Eclipse 3.8 IDE. Now I wanted to update to Odoo8.0 , when I downloaded the code from GitHub and tried to run the server from eclipse, I got this error:
"column ir_ui_view.active does not exist"
I understand here that Odoo8 has added another column to the ir_ui_view table, but how should I fix it on my side to get my server running. I dont want to go through the entire process to setup Postgresql, creating user, assigning roles and then installing odoo. Can I have a simple solution where I can edit the server file or change any database property to get this running. I went through few links but none could help much.
Thanks.
OpenERP/Odoo databases are incompatible between major versions.
They must first be upgraded.
This can be done by OpenERP support services or by yourself using tools such as OpenUpgrade.
try sudo apt-get install python-pass

Calipso install permissions problems

Trying to get started with Calipso and this new node.js world, coming from LAMP and Drupal. I've installed MongoDB, nodeJS, and NPM successfully.
Since I need to run **sudo** calipso site /var/www/sample-site the permissions really seem to screw things up. The site appears to get created successfully, but nothing else is able to execute. The basic calipso command does works fine. However...
calipso test claims expresso can't be found.
calipso install creates a repeated error list a mile long (EACCES, Permission denied 'npm-debug.log')
calipso modules list fails claiming what seems like the site doesn't have it's mongodb module installed, which looks likely.
Hate to give-up this early on such a lovely frontier.
Help Appreciated.
Answers inline as comments above...
Installed expresso.
Used sudo for commands.
started up node.js server.