http://localhost/exam/test/list

Home Forums Learn ZF2 http://localhost/exam/test/list

This topic contains 0 replies, has 1 voice, and was last updated by  ml67762@gmail.com 3 years, 3 months ago.

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #251

    ml67762@gmail.com
    Participant

    Hello together,

    i am using the Master-App Version. And here i have some problems.
    my “config/autoload” folder

    cache.local.php
    crypto.local.php
    database.local.php
    log.local.php
    global.php

    i can successfuly register new user´s and find them in the database.

    In the navigation version i can execute
    http://localhost/exam/test/take/1
    without any errors but the final Master-App gives me
    Zend\Crypt\Exception\InvalidArgumentException

    File:

    C:\zf2\learnzf2\vendor\zendframework\zendframework\library\Zend\Crypt\BlockCipher.php:408

    Message:

    The data to decrypt must be a string

    —————————————————-

    By klicking on the link “list” i got this error. Is it because i use windows 7 and i cant use chmod 777 to the folders ?

    Fatal error: Uncaught exception ‘Zend\Cache\Exception\InvalidArgumentException’ with message ‘Cache directory ‘data/cache/text’ not found or not a directory’ in C:\zf2\learnzf2\vendor\zendframework\zendframework\library\Zend\Cache\Storage\Adapter\FilesystemOptions.php:130 Stack trace: #0 C:\zf2\learnzf2\vendor\zendframework\zendframework\library\Zend\Stdlib\AbstractOptions.php(104): Zend\Cache\Storage\Adapter\FilesystemOptions->setCacheDir(‘data/cache/text’) #1 C:\zf2\learnzf2\vendor\zendframework\zendframework\library\Zend\Stdlib\AbstractOptions.php(57): Zend\Stdlib\AbstractOptions->__set(‘cache_dir’, ‘data/cache/text’) #2 C:\zf2\learnzf2\vendor\zendframework\zendframework\library\Zend\Stdlib\AbstractOptions.php(32): Zend\Stdlib\AbstractOptions->setFromArray(Array) #3 C:\zf2\learnzf2\vendor\zendframework\zendframework\library\Zend\Cache\Storage\Adapter\FilesystemOptions.php(116): Zend\Stdlib\AbstractOptions->__construct(Array) #4 C:\zf2\learnzf2\vendor\zendframework\zendframework\library\Zend\Cache\Storage\Adapter\Filesy in C:\zf2\learnzf2\vendor\zendframework\zendframework\library\Zend\ServiceManager\ServiceManager.php on line 904

    Best Regards
    ML

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.