Код: Выделить всё
The mysql driver is not currently installed
Код: Выделить всё
The mysql driver is not currently installed
Код: Выделить всё
The requested URL /utm5cabinet/www/user/ was not found on this server.
Код: Выделить всё
resources.router.routes.module.route = "/:controller/:action/*"
Код: Выделить всё
resources.router.routes.module.route = "/utm5cabinet/www/:controller/:action/*"
Код: Выделить всё
Сообщение: SQLSTATE[00000] [1130] Host 'billing.lan' is not allowed to connect to this MySQL server
Код: Выделить всё
'pattern' => '/^[a-z0-9\/\\\\~.!@$%^&*]+$/i',
Код: Выделить всё
'pattern' => '/^[a-z0-9\/\\\\~.!@$%_^&*]+$/i',
Код: Выделить всё
//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
$services = $tarrifs = $userData = $email = NULL;
//<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
//Проверяем наличие кэша
//Если данные не присутствуют в кэше, то делаем запрос к urfe
if (($services = $this->cache->load($this->cache_basic_account . '_services')) === FALSE
|| ($tarrifs = $this->cache->load($this->cache_basic_account . '_tarrifs')) === FALSE
|| ($userData = $this->cache->load($this->cache_basic_account)) === FALSE
|| ($accounts = $this->cache->load($this->cache_basic_account . '_accounts')) === FALSE
|| ($additional = $this->cache->load($this->cache_basic_account . '_additional')) === FALSE
//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
|| ($email = $this->cache->load($this->cache_basic_account . '_email')) === FALSE
//<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
) {
$urfa = $this->reconnect();
//получаем информацию о сервисах и сохраняем в кэш
if ($services = $urfa->getServices()) {
$this->cache->save($services, $this->cache_basic_account . '_services');
}
if ($tarrifs = $urfa->getTarrifs()) {
$this->cache->save($tarrifs, $this->cache_basic_account . '_tarrifs');
}
if ($userData = $urfa->getUserInfo()) {
$this->cache->save($userData, $this->cache_basic_account);
}
if ($additional = $urfa->getAdditional()) {
$this->cache->save($additional, $this->cache_basic_account . '_additional');
}
if ($accounts = $urfa->getAccountsInfo()) {
$this->cache->save($accounts, $this->cache_basic_account . '_accounts');
}
//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
$user = new Billing_Model_Users();
if ($email = $user->getUserInfo($userData['id'])->email) {
$this->cache->save($email, $this->cache_basic_account . '_email');
}
//<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
unset($urfa);
}
//Присваиваем данные переменным вида
$this->view->services = $services;
// Zend_Debug::dump($services);
$this->view->tarrifs = $tarrifs;
// Zend_Debug::dump($tarrifs);
$this->view->userData = $userData;
$this->view->additional = $additional;
$this->view->accounts = $accounts;
//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
$this->view->email = $email;
//<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
$this->view->cacheData = $this->cache->getMetadatas($this->cache_basic_account);
$this->view->editform = new Billing_Form_UserEdit();
$this->view->editform->setAction('/user/edit');
Код: Выделить всё
<td>Паспортные данные:</td>
<td><?= $this->userData['passport']?></td>
</tr>
<tr>
<td>e-mail:</td>
<td><?php echo $this->email; ?></td>
</tr>
</table>
Код: Выделить всё
//>>>>>>>>>>>>>>
Мой код
//<<<<<<<<<<<<<<