Elxis CMS Forum

Ελληνικό Forum => Διαχείριση => Topic started by: creon on October 05, 2013, 04:49:52

Title: No input file specified.
Post by: creon on October 05, 2013, 04:49:52
Καλημέρα.
Σε καινούργια εγκατάσταση το elxis 4.1 όταν πάω να σώσω τα settings μου βγάζει μήνυμα No input file specified, επίσης το βγάζει και όταν κάνω logout. Μπόρεσα και έκανα offline το site αλλάζοντας το configuration file χειροκίνητα. Το host είναι σε Linux server του godaddy. Εχω ενεργοποιησει τα search friendly urls και το htaccess εχει γινει rename.
Ξέρετε τι μπορεί να φταίει?
Title: Re: No input file specified.
Post by: webgift on October 05, 2013, 10:44:41
Καλημέρα Greon,
Πολύ πιθανόν είναι να έχεις αλλάξει το όνομα το φακέλου της διαχείρισης από estia σε κάτι δικό σου και να μην έχεις περάσει τις αλλαγές που πρέπει να γίνουν στο αντίστοιχο αρχείο .htaccess.
Title: Re: No input file specified.
Post by: creon on October 05, 2013, 22:57:54
Καλησπέρα.
Δεν αλάλαξα το φάκελo εστία τα άφησα ολα default γιατί μου έβγαζε προβλήματα η μετονομασία το repository και δεν με άφηνε καθόλου να μπω στο admin panel έβγαζε συνέχεια error ενώ έκανα τις απαραίτητες αλλαγές. Αφήνοντας όλα default έπαιξε μεν αλλά πάλι βγάζει προβλήματα.

Παρακάτω είναι ένα copy/paste του .htaccess  :

##
# Elxis 4.x htaccess file
# Copyright (C) 2006-2012 Elxis.org. All rights reserved.
# License: http://www.gnu.org/copyleft/gpl.html GNU/GPL
# Elxis CMS is a Free Software
##

# Uncomment the lines bellow to add support for HTML5 video and audio
# AddType video/ogg .ogm
# AddType video/ogg .ogv
# AddType video/ogg .ogg
# AddType video/webm .webm
# AddType audio/webm .weba
# AddType video/mp4 .mp4
# AddType video/x-m4v .m4v

## Uncomment the following line, if it produces erors, comment it again
# Options -Indexes +FollowSymLinks

#
#  mod_rewrite in use
#

RewriteEngine On

# The following line tells the web server where your Elxis installation is located in relation
# to the web server root directory. By default this is set to the www root folder ( RewriteBase / ).
# If you have installed Elxis in a sub-folder then set this path properly.
# For example if your elxis site is accessible via this URL http://www.example.com/elxis/
# You should set: RewriteBase /elxis/

RewriteBase /

#
# Rewrite rules for sample multisites appeared as sub-folders of the main site
# RewriteRule ^one/estia/inner.php estia/inner.php [L]
# RewriteRule ^one/inner.php(.*) inner.php [L]
# RewriteRule ^one/(.*) $1
# RewriteRule ^two/estia/inner.php estia/inner.php [L]
# RewriteRule ^two/inner.php(.*) inner.php [L]
# RewriteRule ^two/(.*) $1
#

#RewriteCond %{REQUEST_FILENAME} !-f
#RewriteCond %{REQUEST_FILENAME} !-d

# If you have renamed the administration folder change "estia" to the name you have set.
RewriteRule ^estia/inner.php(.*) estia/inner.php [L]
RewriteRule ^estia/(.*) estia/index.php [L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*) index.php

#
## Security rules. Comment them if they cause problems to your site
#
# Block out any script trying to base64_encode crap to send via URL
# This rule is commented because it may cause some Elxis features to not work!
# RewriteCond %{QUERY_STRING} base64_encode.*\(.*\) [OR]
# Block out any script that includes a <script> tag in URL
RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR]
# Block out any script trying to set a PHP GLOBALS variable via URL
RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
# Block out any script trying to modify a _REQUEST variable via URL
RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
# Send all blocked request to homepage with 403 Forbidden error!
 RewriteRule ^(.*)$ index.php [F,L]

and a screenshot of my root folder

(http://i219.photobucket.com/albums/cc166/creon_gr/Sigmatauiotagammamuiota3CC0tauupsilonpiomicronalphapi3CC02013-10-05225448.png) (http://s219.photobucket.com/user/creon_gr/media/Sigmatauiotagammamuiota3CC0tauupsilonpiomicronalphapi3CC02013-10-05225448.png.html)



[attachment deleted by admin]
Title: Re: No input file specified.
Post by: webgift on October 06, 2013, 10:28:06
Καλημέρα,
Θα χρειαστώ πρόσβαση στο Elxis site σου (λογαριασμός διαχειριστή) και μέσω FTP για να δω τι συμβαίνει. Στείλε μου ένα προσωπικό μήνυμα με τα στοιχεία και θα το κοιτάξω με την 1η ευκαιρία.
Title: Re: No input file specified.
Post by: creon on October 06, 2013, 16:51:11
Καλησπερα.
Δοκιμασα και σε αλλο hosting account και παλι τα ιδια προβληματα αν αλλαξω ονομα το repository ενω δηλωνω τπ path δεν το βρισκει, τα αφηνω ολα default και παιζει αλλα πεταει το no input file specified.

Σου στελνω αυτα που ζητησες με pm.

Title: Re: No input file specified.
Post by: webgift on October 06, 2013, 18:30:58
Καλησπέρα,
Έκανα μια γρήγορη αναζήτηση στα ενδότερα μιας και δεν έχω πολύ χρόνο τώρα. Το πρόβλημα υπόκειται στην φιλοξενία μέσω GoDaddy. Θα πρέπει να επικοινωνήσεις μαζί τους και να τους αναφέρεις το εν λόγω σφάλμα. Είναι γνώριμο στην εταιρεία. Δίδονται κάποιες λύσεις στο διαδίκτυο από διάφορους χρήστες ωστόσο το καλύτερο είναι να το επιλύσει η ίδια η εταιρεία.
Title: Re: No input file specified.
Post by: creon on October 06, 2013, 22:47:08
ok
Θα μιλήσω μαζί τους και θα ενημερώσω για την λύση που θα δώσουν.
Ευχαριστώ πολύ για τη βοήθεια και το χρόνο που αφιέρωσες.
Title: Re: No input file specified.
Post by: webgift on October 07, 2013, 11:58:08
Να σε καλά.
Σου στέλνω προσωπικό μήνυμα σχετικά για να δούμε κάτι επιπλέον μιας και δεν βλέπω καμία αλλαγή.
Title: [SOLVED] No input file specified.
Post by: webgift on October 07, 2013, 16:11:06
Τέλος καλό όλα καλά.
Για όσους έχουν φιλοξενία μέσω Godaddy και αντιμετωπίζουν παρόμοιο πρόβλημα με το Elxis CMS θα πρέπει στο αρχείο .htaccess να προσθέσουν την γραμμή:

AddHandler x-httpd-php5-3 .php
Title: Re: No input file specified.
Post by: creon on October 09, 2013, 02:09:48
Τελικά δεν λύθηκε το πρόβλημα ακόμα  :-\
Μέτα απο αλλεπάλληλα μηνύματα με τον provider η τελική απάντηση τους ήταν αυτή :

Thank you for your response. Upon review of your account and message it seems that the issue lies either within your Joomla! configuration or within your .htaccess file itself as rewrites for your application are not being done correctly.

We have reviewed your account and could not find any issues with your hosting plan. The type of error you are experiencing is most likely caused by coding or scripting. Because we do not provide coding support, we are unable to determine what specifically in your code may be causing the error. However, the following may be of some assistance in diagnosing the problem:

http://forum.joomla.org/viewtopic.php?t=614279

You may wish to review your code to determine if there are any issues, because it appears that is the most likely cause of the error. You may also wish to enable detailed error messages as a temporary diagnostic measure. The procedure for this will vary, depending on the scripting language being used. We also recommend consulting both the vendor's online documentation, as well as the large number of online forums dedicated to coding and scripting.

If you determine there is no issue with the code itself and believe the issue is server related, please reply with specific evidence of this and we will investigate the matter further.

Please let us know if we can assist you in any other way.

Τι να πει κανείς για την απάντησή τους......
Είδα το ποστ στο joomla forum που μου λένε και εκεί περιγράφει πως να απενεργοποιήσεις το index.php στα url's σου. Υπάρχει τέτοια δυνατότητα στο elxis και αν ναι θα λύσει το πρόβλημα?
Title: Re: No input file specified.
Post by: webgift on October 09, 2013, 09:34:23
Προσωρινά επιλύθηκε το πρόβλημα και όλα δούλευαν άψογα με την αλλαγή στο αρχείο .htaccess που ανάφερα παραπάνω.
Το θέμα δεν είναι να απενεργοποιήσεις το index.php αρχείο από την URL. Το Elxis CMS κάνει request σε αρχεία όπως inner.php και index.php ανάλογα τις ανάγκες κάθε φορά. Οπότε και να ενεργοποιήσεις στο SEF για τα URLs ναι μεν δεν θα φαίνονται, θα δείχνει ότι θα δουλεύει στο δημόσιο τμήμα άλλα στην διαχείριση δεν θα μπορείς να δουλέψεις. Όλες οι κλήσεις που γίνονται εκεί παρουσιάζουν πρόβλημα.
Title: Re: No input file specified.
Post by: creon on October 09, 2013, 14:44:08
Ναι σωστά τα λες.
Μια είναι η λύση...να φύγω από το Godaddy και το άθλιο support τους, θέλουν 24 ώρες για να απαντήσουν, συνολικά τους πήρε 3 ημέρες για να μου πουν ότι δεν μπορούν να κάνουν τίποτα...
Title: Re: No input file specified.
Post by: creon on October 11, 2013, 03:51:14
Καλημέρα  ;D
Μετά από 7 ημέρες ψαξίματος τελικά το έκανα να δουλέψει  :D

Κάτω από τη γραμμή 24 (RewriteEngine On) του .htacces βάζεις τον παρακάτω κώδικα

Options +ExecCGI
AddType application/x-httpd-php5-3 .htm .html .php
AddHandler x-httpd-php5-3 .htm .html .php

Ανάλογα με τι έκδοση php έχεις το php5-3 το αλλάζεις στην έκδοσή σου.
Προσθέτοντας το παραπάνω κώδικα φεύγει το index.php από τα url's του frontend αλλά δεν παίζει το backend γιατί θέλει το inner.php

Για να διορθώσεις αυτό κάνεις ένα αρχείο php5.ini στο root και εκεί γράφεις το παρακάτω :
cgi.fix_pathinfo = 1
Μετά πρέπει να πας από το control panel του GoDaddy, πατάς το System Processes και end all. Μετά απο αυτό ανοίγεις το site σου ένα άλλο browser π.χ αν παίζεις firefox => ie και παίζει  :D  το τελευταίο κομμάτι μπορεί και να μη χρειάζεται αλλά εγώ έχω 7000 tabs στο firefox οπότε το έκανα προληπτικά.

Ευχαριστώ και πάλι τον webgift για την βοήθεια και τον χρόνο του.

p.s Ο server τρόμαξε που αύριο θα έφευγα και έπαιξε  :P

Title: Re: No input file specified.
Post by: webgift on October 11, 2013, 10:50:04
Καλημέρα,
Μην πάρεις και όρκο μιας και αύριο μπορεί να μην παίζει. ;D Μακάρι βέβαια να παίξει και να ηρεμήσεις.
Να σε καλά.

g0d@ddy sucks