Author Topic: Error during installation  (Read 16581 times)

0 Members and 1 Guest are viewing this topic.

markinfurkin

  • Full Member
  • ***
  • Posts: 8
Error during installation
« on: May 07, 2015, 12:14:09 PM »
Hi guys,
i trying instaal de mibew 2.0.0 in localhost with xampp, but this error occurring:
Code: [Select]
Warning: Application stopped because of uncaught exception Stash\Exception\WindowsPathMaxLengthException "Cache path exceeds Windows PHP MAX_LENGTH of 260 characters. " (C:\xampp\htdocs\mibew\vendor\tedivm\stash\src\Stash\Driver\FileSystem.php:230) in C:\xampp\htdocs\mibew\libs\classes\Mibew\Application.php on line 165
Query failed: Table 'mibew.locale' doesn't exist

then, i try print (echo) the created path ,this results:
Code: [Select]
C:\xampp\htdocs\mibew/cache/stash\1952a01898073d1e\561b9b4f2e42cbd7\38a865804f8fdcb6\57cd99682e939275\ef3b209be94f84a3\e38cd571d52d4568\55b558c7ef820e6e\00e5993b9e55d93b\336d5ebc5436534e\61d16e63ddfca327\c23f7ab876ac167e\05468ef79f046cb7\97eff1ec87548ea5\ff877580f81b39d8.php
anybody can help me?

Dmitriy Simushev

  • Moderator
  • Native
  • *****
  • Posts: 345
Re: Error during installation
« Reply #1 on: May 07, 2015, 12:23:10 PM »
Hi,

It's because Windows platforms can have problems with too long cache files path.

You have two options:
1. Do not use windows platforms
2. Use another cache storage (see https://github.com/Mibew/mibew/blob/master/src/mibew/configs/default_config.yml#L42)

markinfurkin

  • Full Member
  • ***
  • Posts: 8
Re: Error during installation
« Reply #2 on: May 07, 2015, 12:40:45 PM »
i change to none and worked fine, tks! :D

ebonweaver

  • Jr. Member
  • **
  • Posts: 1
Re: Error during installation
« Reply #3 on: May 12, 2015, 03:57:34 AM »
Had the same issue trying to install 2.0 on Redhat:
Query failed: Table 'mibew2.locale' doesn't exist

Just before submitting this post, I realized the documentation was misleading/ incorrect.  It's written for a sub folder, not running in the root URL, so in my case I had to hit URL/install.php as opposed to URL/mibew/install.php
Lesson learned, don't just follow the instructions, read them, understand them, adapt them as needed  :)

Hope this helps others!

jmanuel

  • Jr. Member
  • **
  • Posts: 1
Re: Error during installation
« Reply #4 on: November 03, 2015, 03:32:15 AM »
i change to none and worked fine, tks! :D
can you tell me how you fixed?

Dmitriy Simushev

  • Moderator
  • Native
  • *****
  • Posts: 345
Re: Error during installation
« Reply #5 on: November 09, 2015, 01:22:02 PM »
Here is a part of the default configs/config.yml file:

Code: [Select]
# Cache subsystem
cache:
    # This value determines where the cached data will be stored. Possible
    # values are "none", "file_system" and "memcached".
    #
    # If "none" is used the caching will be disabled. This option should be used
    # only if none of the other options works.
    #
    # ... SOME COMMENTS ARE SKIPPED HERE....
    storage: file_system

So if you want to turn of caching you have to replace
Code: [Select]
    storage: file_system
line with
Code: [Select]
    storage: none

Notice, that spaces in the beginning of the line are important!