Problema instalare platforma web

Moderator: Moderators

Locked
alecs14
Nou Venit
Posts: 5
Joined: 05 Sep 2012, 14:44

Problema instalare platforma web

Post by alecs14 » 05 Sep 2012, 14:49

Salut.

Am o problema.

Azi am incercat sa instalez scriptul pentru regnick insa fara solutie. Pur si simplu instalarea nu vrea sa ruleze.

Fisierele sunt uploadate pe calea '/www/furien/reznick' [am redenumit fisierul 'htacces.exemplu' in '.htacces' . Cand incerc sa dau drumu la instalare, imi zice:
Not Found

The requested URL /furien/reznick/install/ was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Totusi, cand ma uit in arhiva care am uploadat-o nu gasesc folderul 'install' .

O rezolvare?

Multumesc.
User avatar
vim
Mini tehnicus
Posts: 2019
Joined: 22 Nov 2007, 20:05

Re: Problema instalare platforma web

Post by vim » 05 Sep 2012, 23:33

Presupun ca `www` face parte din path-ul local si in acel director este setat vhost-ul server-ului web. Renunta la `/www/` cand accesezi site-ul si editeaza fisierul .htacces modificand `RewriteBase` in concordanta cu locul unde ai instalat script-ul.

Code: Select all

[root@gw-03 ~]# man woman
Segmentation Fault (core dumped)
I retired from here
alecs14
Nou Venit
Posts: 5
Joined: 05 Sep 2012, 14:44

Re: Problema instalare platforma web

Post by alecs14 » 06 Sep 2012, 16:17

Mersii pentru sprijin in primul rand.

Din cate am inteles, primul sfat a fost sa incerc sa ma conectez folosind "http://" fara "www." nu? Daca da, am incercat si degeaba.
RewriteBase presupune editarea liniei 'RewriteBase /regnick' ? Daca da, am editat-o astfel 'RewriteBase /furien/reznick' avand in vedere ca fisierele au fost uploadate in http://numesite.ro/furien/reznick insa tot fara nici un rezultat.
User avatar
vim
Mini tehnicus
Posts: 2019
Joined: 22 Nov 2007, 20:05

Re: Problema instalare platforma web

Post by vim » 06 Sep 2012, 20:36

Nu la asta faceam referire. In arhiva `cstrike-regnick-2.0.0-RC2.zip` exista directorul `www`. Tu trebuie sa uploadezi pe server ce se afla in acel director, nu directorul cu totul.

Pe ce server web esti hostat ? Daca firma de unde ai hosting-ul inchiriat, foloseste alt tip de server web in afara de Apache, teoretic trebuia sa ofere clientilor o metoda de compatibilitate cu fisierele .htaccess

Deschide un ticket la ei si intreaba daca se pot utiliza fisierele .htaccess, daca au suport pentru mod_rewrite si posteaza aici raspunsul lor.

Code: Select all

[root@gw-03 ~]# man woman
Segmentation Fault (core dumped)
I retired from here
alecs14
Nou Venit
Posts: 5
Joined: 05 Sep 2012, 14:44

Re: Problema instalare platforma web

Post by alecs14 » 07 Sep 2012, 20:26

Nu am urcat tot directorul, doar ceea ce este in interiorul acestuia. Cand am spus ca fisierele sunt uploadate pe calea 'www/furien/reznick' m-am referit la directorul 'www' ca shortcut alt 'public_html' .

Webhost am de la un reseller Toolz, si am instalat Apache.
User avatar
vim
Mini tehnicus
Posts: 2019
Joined: 22 Nov 2007, 20:05

Re: Problema instalare platforma web

Post by vim » 07 Sep 2012, 21:05

Sigur incerci sa instalezi CStrike-Regnick 2.0.0-RC2 si nu o versiune mai veche ? Intreb asta pentru ca versiunile mai vechi de 2.0.0-RC* nu au installer inclus.

Code: Select all

[root@gw-03 ~]# man woman
Segmentation Fault (core dumped)
I retired from here
alecs14
Nou Venit
Posts: 5
Joined: 05 Sep 2012, 14:44

Re: Problema instalare platforma web

Post by alecs14 » 09 Sep 2012, 22:05

Chiar am facut update la rc3 acum, aceeasi poveste.. nu stiu ce sa mai fac..
User avatar
vim
Mini tehnicus
Posts: 2019
Joined: 22 Nov 2007, 20:05

Re: Problema instalare platforma web

Post by vim » 10 Sep 2012, 00:50

alecs14 wrote:Webhost am de la un reseller Toolz, si am instalat Apache.
Intradevar ruleaza Apache, dar din cate am vazut la site-ul oficial, ruleaza si o versiune de PHP destul de veche (5.2.10). CStrike-Regnick a fost dezvoltat si testat cu PHP 5.3 si nu garantez ca o sa functioneze corect pe versiuni mai vechi.

Daca accesezi: `/furien/reznick/index.php` ce se intampla ?

Activeaza creearea de log-uri, ca sa vezi amanunte:
  1. Deschide fisierul: `/furien/reznick/app/config/config.php` si schimba:

    Code: Select all

    $config['log_threshold'] = 0;
    cu

    Code: Select all

    $config['log_threshold'] = 4;
  2. Acceseaza `/furien/reznick/index.php`
  3. Citeste sau posteaza aici, log-ul creeat in: `/furien/reznick/app/logs/`

Code: Select all

[root@gw-03 ~]# man woman
Segmentation Fault (core dumped)
I retired from here
alecs14
Nou Venit
Posts: 5
Joined: 05 Sep 2012, 14:44

Re: Problema instalare platforma web

Post by alecs14 » 10 Sep 2012, 15:42

Apache version 2.2.22
PHP version 5.3.16
MySQL version 5.1.63-cll

Code: Select all

Not Found

The requested URL /furien/regnick/install/ was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Am reuploadat fisierele si am lasat ca director 'regnick' .

Cand accesez http://numesite.ro/furien/regnick/index.php ma redirectioneaza catre http://numesite.ro/furien/regnick/install [unde apare si eroarea de mai sus].
LogShow
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); ?>

ERROR - 10-09-2012 15:23:02 --> Severity: Warning --> chmod() has been disabled for security reasons /home/rofurien/public_html/furien/regnick/core/core/Common.php 92
DEBUG - 10-09-2012 15:23:02 --> Config Class Initialized
ERROR - 10-09-2012 15:23:02 --> Severity: Warning --> chmod() has been disabled for security reasons /home/rofurien/public_html/furien/regnick/core/libraries/Log.php 106
DEBUG - 10-09-2012 15:23:02 --> Hooks Class Initialized
ERROR - 10-09-2012 15:23:02 --> Severity: Warning --> chmod() has been disabled for security reasons /home/rofurien/public_html/furien/regnick/core/libraries/Log.php 106
DEBUG - 10-09-2012 15:23:02 --> Utf8 Class Initialized
ERROR - 10-09-2012 15:23:02 --> Severity: Warning --> chmod() has been disabled for security reasons /home/rofurien/public_html/furien/regnick/core/libraries/Log.php 106
DEBUG - 10-09-2012 15:23:02 --> UTF-8 Support Enabled
ERROR - 10-09-2012 15:23:02 --> Severity: Warning --> chmod() has been disabled for security reasons /home/rofurien/public_html/furien/regnick/core/libraries/Log.php 106
DEBUG - 10-09-2012 15:23:02 --> URI Class Initialized
ERROR - 10-09-2012 15:23:02 --> Severity: Warning --> chmod() has been disabled for security reasons /home/rofurien/public_html/furien/regnick/core/libraries/Log.php 106
DEBUG - 10-09-2012 15:23:02 --> Router Class Initialized
ERROR - 10-09-2012 15:23:02 --> Severity: Warning --> chmod() has been disabled for security reasons /home/rofurien/public_html/furien/regnick/core/libraries/Log.php 106
DEBUG - 10-09-2012 15:23:02 --> No URI present. Default controller set.
ERROR - 10-09-2012 15:23:02 --> Severity: Warning --> chmod() has been disabled for security reasons /home/rofurien/public_html/furien/regnick/core/libraries/Log.php 106
DEBUG - 10-09-2012 15:23:02 --> Output Class Initialized
ERROR - 10-09-2012 15:23:02 --> Severity: Warning --> chmod() has been disabled for security reasons /home/rofurien/public_html/furien/regnick/core/libraries/Log.php 106
DEBUG - 10-09-2012 15:23:02 --> Security Class Initialized
ERROR - 10-09-2012 15:23:02 --> Severity: Warning --> chmod() has been disabled for security reasons /home/rofurien/public_html/furien/regnick/core/libraries/Log.php 106
DEBUG - 10-09-2012 15:23:02 --> Input Class Initialized
ERROR - 10-09-2012 15:23:02 --> Severity: Warning --> chmod() has been disabled for security reasons /home/rofurien/public_html/furien/regnick/core/libraries/Log.php 106
DEBUG - 10-09-2012 15:23:02 --> XSS Filtering completed
ERROR - 10-09-2012 15:23:02 --> Severity: Warning --> chmod() has been disabled for security reasons /home/rofurien/public_html/furien/regnick/core/libraries/Log.php 106
DEBUG - 10-09-2012 15:23:02 --> XSS Filtering completed
ERROR - 10-09-2012 15:23:02 --> Severity: Warning --> chmod() has been disabled for security reasons /home/rofurien/public_html/furien/regnick/core/libraries/Log.php 106
DEBUG - 10-09-2012 15:23:02 --> XSS Filtering completed
ERROR - 10-09-2012 15:23:02 --> Severity: Warning --> chmod() has been disabled for security reasons /home/rofurien/public_html/furien/regnick/core/libraries/Log.php 106
DEBUG - 10-09-2012 15:23:02 --> XSS Filtering completed
ERROR - 10-09-2012 15:23:02 --> Severity: Warning --> chmod() has been disabled for security reasons /home/rofurien/public_html/furien/regnick/core/libraries/Log.php 106
DEBUG - 10-09-2012 15:23:02 --> XSS Filtering completed
ERROR - 10-09-2012 15:23:02 --> Severity: Warning --> chmod() has been disabled for security reasons /home/rofurien/public_html/furien/regnick/core/libraries/Log.php 106
DEBUG - 10-09-2012 15:23:02 --> XSS Filtering completed
ERROR - 10-09-2012 15:23:02 --> Severity: Warning --> chmod() has been disabled for security reasons /home/rofurien/public_html/furien/regnick/core/libraries/Log.php 106
DEBUG - 10-09-2012 15:23:02 --> CRSF cookie Set
ERROR - 10-09-2012 15:23:02 --> Severity: Warning --> chmod() has been disabled for security reasons /home/rofurien/public_html/furien/regnick/core/libraries/Log.php 106
DEBUG - 10-09-2012 15:23:02 --> Global POST and COOKIE data sanitized
ERROR - 10-09-2012 15:23:02 --> Severity: Warning --> chmod() has been disabled for security reasons /home/rofurien/public_html/furien/regnick/core/libraries/Log.php 106
DEBUG - 10-09-2012 15:23:02 --> Language Class Initialized
ERROR - 10-09-2012 15:23:02 --> Severity: Warning --> chmod() has been disabled for security reasons /home/rofurien/public_html/furien/regnick/core/libraries/Log.php 106
DEBUG - 10-09-2012 15:23:02 --> Language Class Initialized
ERROR - 10-09-2012 15:23:02 --> Severity: Warning --> chmod() has been disabled for security reasons /home/rofurien/public_html/furien/regnick/core/libraries/Log.php 106
DEBUG - 10-09-2012 15:23:02 --> Config Class Initialized
ERROR - 10-09-2012 15:23:02 --> Severity: Warning --> chmod() has been disabled for security reasons /home/rofurien/public_html/furien/regnick/core/libraries/Log.php 106
DEBUG - 10-09-2012 15:23:02 --> Loader Class Initialized
ERROR - 10-09-2012 15:23:02 --> Severity: Warning --> chmod() has been disabled for security reasons /home/rofurien/public_html/furien/regnick/core/libraries/Log.php 106
DEBUG - 10-09-2012 15:23:02 --> Config file loaded: app/config/regnick.php
ERROR - 10-09-2012 15:23:02 --> Severity: Warning --> chmod() has been disabled for security reasons /home/rofurien/public_html/furien/regnick/core/libraries/Log.php 106
DEBUG - 10-09-2012 15:23:02 --> Config file loaded: app/config/email.php
ERROR - 10-09-2012 15:23:02 --> Severity: Warning --> chmod() has been disabled for security reasons /home/rofurien/public_html/furien/regnick/core/libraries/Log.php 106
DEBUG - 10-09-2012 15:23:02 --> Helper loaded: language_helper
ERROR - 10-09-2012 15:23:02 --> Severity: Warning --> chmod() has been disabled for security reasons /home/rofurien/public_html/furien/regnick/core/libraries/Log.php 106
DEBUG - 10-09-2012 15:23:02 --> Helper loaded: url_helper
ERROR - 10-09-2012 15:23:02 --> Severity: Warning --> chmod() has been disabled for security reasons /home/rofurien/public_html/furien/regnick/core/libraries/Log.php 106
DEBUG - 10-09-2012 15:23:02 --> Helper loaded: core_helper
ERROR - 10-09-2012 15:23:02 --> Severity: Warning --> chmod() has been disabled for security reasons /home/rofurien/public_html/furien/regnick/core/libraries/Log.php 106
DEBUG - 10-09-2012 15:23:02 --> Language file loaded: language/en/regnick_lang.php
ERROR - 10-09-2012 15:23:02 --> Severity: Warning --> chmod() has been disabled for security reasons /home/rofurien/public_html/furien/regnick/core/libraries/Log.php 106
DEBUG - 10-09-2012 15:23:02 --> Database Driver Class Initialized
ERROR - 10-09-2012 15:23:02 --> Severity: Warning --> chmod() has been disabled for security reasons /home/rofurien/public_html/furien/regnick/core/libraries/Log.php 106
ERROR - 10-09-2012 15:23:02 --> Severity: Warning --> mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Access denied for user 'rofurien'@'localhost' (using password: NO) /home/rofurien/public_html/furien/regnick/core/database/drivers/mysql/mysql_driver.php 73
ERROR - 10-09-2012 15:23:02 --> Unable to connect to the database
ERROR - 10-09-2012 15:23:02 --> Severity: Warning --> chmod() has been disabled for security reasons /home/rofurien/public_html/furien/regnick/core/libraries/Log.php 106
DEBUG - 10-09-2012 15:23:02 --> Session Class Initialized
ERROR - 10-09-2012 15:23:02 --> Severity: Warning --> chmod() has been disabled for security reasons /home/rofurien/public_html/furien/regnick/core/libraries/Log.php 106
DEBUG - 10-09-2012 15:23:02 --> Helper loaded: string_helper
ERROR - 10-09-2012 15:23:02 --> Severity: Warning --> chmod() has been disabled for security reasons /home/rofurien/public_html/furien/regnick/core/libraries/Log.php 106
DEBUG - 10-09-2012 15:23:02 --> Encrypt Class Initialized
ERROR - 10-09-2012 15:23:02 --> Severity: Warning --> chmod() has been disabled for security reasons /home/rofurien/public_html/furien/regnick/core/libraries/Log.php 106
DEBUG - 10-09-2012 15:23:02 --> Session routines successfully run
ERROR - 10-09-2012 15:23:02 --> Severity: Warning --> chmod() has been disabled for security reasons /home/rofurien/public_html/furien/regnick/core/libraries/Log.php 106
DEBUG - 10-09-2012 15:23:02 --> User Agent Class Initialized
ERROR - 10-09-2012 15:23:02 --> Severity: Warning --> chmod() has been disabled for security reasons /home/rofurien/public_html/furien/regnick/core/libraries/Log.php 106
DEBUG - 10-09-2012 15:23:02 --> Template Class Initialized
ERROR - 10-09-2012 15:23:02 --> Severity: Warning --> chmod() has been disabled for security reasons /home/rofurien/public_html/furien/regnick/core/libraries/Log.php 106
DEBUG - 10-09-2012 15:23:02 --> Model Class Initialized
ERROR - 10-09-2012 15:23:02 --> Severity: Warning --> chmod() has been disabled for security reasons /home/rofurien/public_html/furien/regnick/core/libraries/Log.php 106
DEBUG - 10-09-2012 15:23:02 --> Model Class Initialized
ERROR - 10-09-2012 15:23:02 --> Severity: Warning --> chmod() has been disabled for security reasons /home/rofurien/public_html/furien/regnick/core/libraries/Log.php 106
DEBUG - 10-09-2012 15:23:02 --> Model Class Initialized
ERROR - 10-09-2012 15:23:02 --> Severity: Warning --> chmod() has been disabled for security reasons /home/rofurien/public_html/furien/regnick/core/libraries/Log.php 106
DEBUG - 10-09-2012 15:23:02 --> Controller Class Initialized
ERROR - 10-09-2012 15:23:02 --> Severity: Warning --> chmod() has been disabled for security reasons /home/rofurien/public_html/furien/regnick/core/libraries/Log.php 106
DEBUG - 10-09-2012 15:23:02 --> Server MX_Controller Initialized
ERROR - 10-09-2012 15:23:02 --> Severity: Warning --> chmod() has been disabled for security reasons /home/rofurien/public_html/furien/regnick/core/libraries/Log.php 106
T-z3P
Nou Venit
Posts: 32
Joined: 25 May 2012, 18:21

Re: Problema instalare platforma web

Post by T-z3P » 10 Sep 2012, 20:11

delete this.
User avatar
vim
Mini tehnicus
Posts: 2019
Joined: 22 Nov 2007, 20:05

Re: Problema instalare platforma web

Post by vim » 12 Sep 2012, 09:57

alecs14 wrote:ERROR - 10-09-2012 15:23:02 --> Severity: Warning --> chmod() has been disabled for security reasons /home/rofurien/public_html/furien/regnick/core/core/Common.php 92
Se presupune ca pe o masina pe care se face hosting shared, fiecare utilizator este limitat la propriul "home directory". Daca el nu are acces in afara propriului director, limitarea functiei chmod mi se pare inutila si putin prosteasca.

Rezolvare #1:
  1. Copiaza acest fisier in `app/config/production` sub numele `database.php` si scrie datele de autentificare la mysql in el.
  2. Dai import din phpmyadmin sau ceva similar, acestui fisier.
  3. Dai un restart la browser (inchide toate ferestrele si deschide una singura), dupa care accesezi iar `domeniu.ro/furien/regnick/` si trebuie sa iti functioneze aplicatia, fara sa mai porneasca instalarea. Daca iti porneste instalarea din nou, sterge cookie-urile din browser sau incearca sa accesezi site-ul cu alt browser.
Rezolvare #2:
Iti cauti o alta firma de hosting, care nu limiteaza user-ul in mod draconic si nejustificat si o sa poti instala aplicatia in mod normal. Nu fac recomandari, pt ca nu cotizeaza vreuna la buzunarul meu, dar te descurci sa gasesti si ai de unde alege.

--- 11 Sep 2012, 21:42 ---

Problema se pare ca era o greseala de tastare aparuta cand a fost editat fisierul .htaccess si limitarile impuse de firma de hosting, care aduc aminte de epoca ceausista.

Problema a fost rezolvata.

--- 12 Sep 2012, 09:57 ---

Later: Cu placere alecs14 :)

Code: Select all

[root@gw-03 ~]# man woman
Segmentation Fault (core dumped)
I retired from here
Locked