Skocz do zawartości

Witamy na polskim forum Contao
Zarejestruj się teraz, aby skorzystać ze wszystkich funkcji forum. Kiedy się zalogujesz, będziesz mógł tworzyć tematy, pisać posty, rozdawać punkty reputacji, korzystać z prywatnych wiadomości i zarządzać swoim profilem. Jeśli posiadasz już konto, zaloguj się - w przeciwnym wypadku zarejestruj się już teraz!
Zdjęcie

Problem z linkami


  • Zaloguj siÄ™, aby dodać odpowiedź
4 odpowiedzi w tym temacie

#1
ArturMaly

ArturMaly

    Doświadczony

  • Zarejestrowani
  • PipPipPip
  • 62 postów
  • Strona www:zobacz
  • LokalizacjaKolonia
Witam...
Szukałem odpowiedniego dla siebie CMS'a i wypadło na TYPOlight, na początek zainstalowałem go sobie na serwerze i obejrzałem screencasty, aby nie zadawać głupich pytaÅ„, no i napotkałem na problem, otóż chciałem na początku stworzyłem sobie punkt startowy nowego serwisu, tam dodałem sobie 4ry podstrony jednak nie udało mi się wejść w żaden sposób na stronę, więc przeniosłem sobie jedną podstronę do struktury pierwotnej i ta się wyświetliła, więc przeniosłem drugą podstronę po czym pokazała się ona w menu, lecz nie mogę na nią wejść , po naciśnięciu na link w menu wyskakuje mi komunikat:
"No input file specified. "

Oto screen struktury z panelu administracyjnego:
http://img207.images... ... uracw9.jpg

A to link do katalogu z TYPOlight:
http://motorrac.website.pl/test/typo/

Proszę o pomoc i wytłumaczenie co robię źle...

Pozdrawiam
  • 0

#2
pXp

pXp

    Znawca

  • Zarejestrowani
  • PipPipPipPip
  • 164 postów
  • Strona www:zobacz
  • LokalizacjaZabrze
Witaj.

Na oficjalnym forum piszą że to problem z serwerem - a dokładnie z konfiguracją php.
Może coś doczytasz więcej

http://www.typolight...ed/opts/sm.html
  • 0

#3
motionart

motionart

    Doświadczony

  • Zarejestrowani
  • PipPipPip
  • 90 postów
.htaccess gdzie jest zainstalowany TL z zawartoscia

# Enable mod_rewrite
RewriteEngine On
RewriteBase /

# Block any URI protocol in the query string
RewriteCond %{QUERY_STRING} (ftp|https?):|/etc/ [NC]
RewriteRule .* - [F,L]

# Block any URI protocol in the request
RewriteCond %{REQUEST_URI} (ftp|https?):|/etc/ [NC]
RewriteRule .* - [F,L]

# Rewrite TYPOlight URLs
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .*\.html$ index.php [L]

  • 0

#4
Kamil

Kamil

    Contao ambassador

  • Administratorzy
  • 1 538 postów
  • Strona www:zobacz
  • LokalizacjaLidzbark Warminski
W wersji 2.8.1 możecie napotkać na ten sam problem - http://blog.qzminski... ... specified/
  • 0

Codefog - Contao web development


#5
scorpimen

scorpimen

    Bywalec

  • Zarejestrowani
  • PipPip
  • 31 postów
  • Strona www:zobacz
  • LokalizacjaStarogard Gdañski
Odświerze temat bo coraz częściej spotykam taki problem

u mnie działa

##
# Contao Open Source CMS
# Copyright (C) 2005-2011 Leo Feyer
#
# Formerly known as TYPOlight Open Source CMS.
#
# This program is free software: you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation, either
# version 3 of the License, or (at your option) any later version.
# 
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
# 
# You should have received a copy of the GNU Lesser General Public
# License along with this program. If not, please visit the Free
# Software Foundation website at <http://www.gnu.org/licenses/>.
#
# PHP version 5
# @copyright  Leo Feyer 2005-2011
# @author     Leo Feyer <http://www.contao.org>
# @license    LGPL
##

<IfModule mod_deflate.c>

  ##
  # Use mod_deflate to compress JavaScript, CSS and XML files. Do not add
  # PHP and HTML files, because those have already been compressed by Contao.
  ##
  <FilesMatch "\.(css|js|xml)$">
    SetOutputFilter DEFLATE
  </FilesMatch>

</IfModule>

<IfModule mod_headers.c>

  ##
  # Add a Vary Accept-Encoding header for the compressed resources. If you
  # modify the file types above, make sure to change them here accordingly.
  ##
  <FilesMatch "\.(js|css|xml|gz)$">
    Header append Vary Accept-Encoding
  </FilesMatch>

</IfModule>

<IfModule mod_expires.c>
  ExpiresActive On

  ##
  # Specify an expiration one week in the future for images, JavaScripts and
  # CSS files (as recommended by Google Page Speed). Edit or remove the lines
  # to set up your own expiration logic.
  ##
  ExpiresByType image/png A604800
  ExpiresByType image/gif A604800
  ExpiresByType image/jpg A604800
  ExpiresByType image/jpeg A604800
  ExpiresByType text/javascript A604800
  ExpiresByType application/x-javascript A604800
  ExpiresByType text/css A604800

</IfModule>

<IfModule mod_rewrite.c>
  RewriteEngine On

  ##
  # Set the RewriteBase if your Contao installation is in a subdirectoy and
  # the rewrite rules are not working properly. Usage examples:
  #
  #   RewriteBase /contao-2.9.0
  #   RewriteBase /path/to/contao
  #
  # Uncomment the following line to set the RewriteBase.
  ##
  RewriteBase /
  ##
  # Contao usually does not pass absolute URLs via GET, therefore the
  # following rules block all requests that try to pass a URL or the /etc/
  # directory as parameter (malicious requests).
  ##
  RewriteCond %{REQUEST_URI} (ftp|https?):|/etc/ [NC,OR]
  RewriteCond %{QUERY_STRING} (ftp|https?):|/etc/ [NC]
  RewriteRule .* - [F,L]

  ##
  # Uncomment the following lines and replace "domain.com" with your domain
  # name to redirect requests without "www" to the correct domain. 
  ##
  #RewriteCond %{HTTP_HOST} ^domain\.com [NC]
  #RewriteRule (.*) http://www.domain.com/$1 [R=301,L]

  ##
  # Do not rewrite requests for static files or folders such as style sheets,
  # images, movies or text documents.
  ##
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d

  ##
  # By default, Contao adds ".html" to the generated URLs to simulate static
  # HTML documents. If you change the URL suffix in the back end settings, make
  # sure to change it here accordingly!
  #
  #   RewriteRule .*\.html$ index.php [L]   # URL suffix .html
  #   RewriteRule .* index.php [L]          # No URL suffix
  #   RewriteRule .*\.txt$ index.php [L]    # URL suffix .txt
  #
  # If you are using mod_cache, it is recommended to use the RewriteRule below,
  # which adds the query string to the internal URL:
  # 
  #   RewriteRule (.*\.html)$ index.php/$1 [L]
  #
  # Note that not all environments support mod_rewrite and mod_cache!
  ##
  #RewriteRule (.*\.html)$ index.php/$1 [L]
  RewriteRule ^(.*)$ index.php?/$1 [L]
  #RewriteRule .*\.html$ index.php/$1 [L]
  #RewriteRule .* index.php [L]

</IfModule>

  • 0




Użytkownicy przeglądający ten temat: 1

0 użytkowników, 1 gości, 0 anonimowych użytkowników