Kann mir jemand Helfen?

Alles, was den Apache betrifft, kann hier besprochen werden.

Kann mir jemand Helfen?

Postby Sunun » 10. November 2007 16:34

Hallo zusammen,

ich habe folgendes Problem und hoffe das mir von euch jemand einen tipp geben kann.

Ich möchte mit Contribute und Dreamweaver CS3 in Zen Cart in dem Verzeichnis F:\xampp\htdocs\shop\includes\languages\english\
Veränderungen an den php Dateien vornehmen und bekomme nachfolgende Fehlermeldung.

Zugriff verweigert!
Der Zugriff auf das angeforderte Objekt ist nicht möglich. Entweder kann es vom Server nicht gelesen werden oder es ist zugriffsgeschützt.

Error 403
11/10/07 21:27:13
Apache/2.2.4 (Win32) DAV/2 mod_ssl/2.2.4 OpenSSL/0.9.8e mod_autoindex_color PHP/5.2.3

Die CHMOD fuer die verzeichnisse steht auf 666 bzw. 777

Aus dem Installations Protokoll kann ich auch nicht sehen das ein Fehler vorliegt.

* Webserver = Apache/2.2.4 (Win32) DAV/2 mod_ssl/2.2.4 OpenSSL/0.9.8e mod_autoindex_color PHP/5.2.3
* HTTP Host = localhost
* Path_Translated = F:/xampp/htdocs/Shop/zc_install/index.php(SCRIPT_FILENAME)
* PHP API Mode = apache2handler
* PHP Max Execution Time per page = 60
* Register Globals = OFF
* MySQL Support = ON
* PHP Version = 5.2.3
* PHP Safe Mode = OFF
* PHP Sessions Support = ON
* PHP Session.AutoStart = OFF
* PHP session.use_trans_sid = OFF
* Suggested SQL Cache Folder = F:/xampp/htdocs/Shop/cache
* PHP magic_quotes_runtime setting = OFF
* PHP GD Support = ON
* GD Version = GD bundled (2.0.34 compatible)
* PHP ZLIB Compression Support = ON
* PHP cURL Support = ON
* PHP Upload Support = ON upload_max_filesize=32M; post_max_size=16M
* PHP Upload TMP dir = F:\xampp\tmp

View PHPINFO for your server
Other System Information (For Reference Only)
The following info does not necessarily indicate any problem or configuration issue. It is simply for the sake of displaying it in an easy-to-find location.

* PHP include_path = .;F:\xampp\php\pear\
* PHP SMTP destination = localhost
* PHP sendmail path =
* PHP sendmail 'from' =
* PHP open_basedir restrictions =
* PHP Output Buffering (gzip) = ON
* PHP FTP Support = ON
* PHP XML Support = ON
* PHP Session.Save_Path = F:\xampp\tmp -->Writeable

File and Folder Permissions
In order for many Zen Cart™ administrative and day-to-day functions to work properly, You need to mark several files/folders "Writeable". The following is a list of folders which need to be "read-write", along with recommended CHMOD settings. Please correct these settings before continuing installation. Refresh this page in your browser to re-check settings.

Some hosts may not allow you to set CHMOD 777, but only 666. Start with the higher setting first, and switch to lower values if required.

* includes/configure.php = Writeable
* admin/includes/configure.php = Writeable
* cache = OK
* images = OK
* includes/languages/english/html_includes = OK
* media = OK
* pub = OK
* admin/backups = OK
* admin/images/graphs = OK

Ready to Install? (This will wipe any existing data. You are NOT in Upgrade mode!!!)

* Welcome
* License
* Prerequisites
* System Setup
* phpBB Setup
* Database Setup
* Store Setup
* Admin Setup
* Finished

Copyright © 2003-2007 Zen Cart™

Das ist die .htaccess im verzeichnis includes

# $Id: .htaccess 1105 2005-04-04 22:05:35Z birdbrain $
# This is used with Apache WebServers
# The following blocks direct HTTP requests in this directory recursively
# For this to work, you must include the parameter 'Limit' to the AllowOverride configuration
# Example:
#<Directory "/usr/local/apache/htdocs">
# AllowOverride Limit
# 'All' with also work. (This configuration is in your apache/conf/httpd.conf file)
# This does not affect PHP include/require functions
# Example: http://server/catalog/includes/application_top.php will not work

<Files *.php>
Order Deny,Allow
Deny from all

Und das ist der Ausschnitt aus der httpd.conf

# DocumentRoot: The directory out of which you will serve your
# documents. By default, all requests are taken from this directory, but
# symbolic links and aliases may be used to point to other locations.
DocumentRoot "F:/xampp/htdocs"

# Each directory to which Apache has access can be configured with respect
# to which services and features are allowed and/or disabled in that
# directory (and its subdirectories).
# First, we configure the "default" to be a very restrictive set of
# features.
<Directory />
Options FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all

# Note that from this point forward you must specifically allow
# particular features to be enabled - so if something's not working as
# you might expect, make sure that you have specifically enabled it
# below.

# This should be changed to whatever you set DocumentRoot to.
<Directory "F:/xampp/htdocs">
# Possible values for the Options directive are "None", "All",
# or any combination of:
# Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
# The Options directive is both complicated and important. Please see
# http://httpd.apache.org/docs/2.2/mod/core.html#options
# for more information.
Options Indexes FollowSymLinks Includes ExecCGI

# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# Options FileInfo AuthConfig Limit
AllowOverride All

# Controls who can get stuff from this server.
Order allow,deny
Allow from all


# DirectoryIndex: sets the file that Apache will serve if a directory
# is requested.
<IfModule dir_module>
DirectoryIndex index.php index.php4 index.php3 index.cgi index.pl index.html index.htm index.shtml index.phtml

# The following lines prevent .htaccess and .htpasswd files from being
# viewed by Web clients.
<FilesMatch "^\.ht">
Order allow,deny
Deny from all


Ich denke das ich entsprechende Einträge in der httpd.conf oder .htaccess machen muss,
habe auch schon verschiedenes ausprobiert aber bekomme einfach keinen Zugriff.

Danke fuer jeden hinweiss.

Posts: 18
Joined: 17. September 2007 09:19

Postby Scory » 10. November 2007 17:07

Kann ja auch nicht, was ist das denn für ein Quatsch:

Code: Select all
<Files *.php>
Order Deny,Allow
Deny from all

Nichts und niemand darf auf PHP-Dateien zugreifen - das steht in Deiner httpd.conf


Postby Sunun » 10. November 2007 19:41

Hi Scory,

danke für deine Antwort, habe ich geändert in

<Files *.php>
Order Deny,Allow
Allow from all

ok ?

Jetzt bekomme ich, wenn ich die Index.php mit contribute bearbeiten möchte, diese Fehler Meldung.

Fatal error: Call to undefined function zen_check_url_get_terms() in F:\xampp\htdocs\shop\includes\languages\english\index.php on line 30

//moved to english
//define('TABLE_HEADING_FEATURED_PRODUCTS','Featured Products');

//define('TABLE_HEADING_NEW_PRODUCTS', 'New Products For %s');
//define('TABLE_HEADING_UPCOMING_PRODUCTS', 'Upcoming Products');
//define('TABLE_HEADING_DATE_EXPECTED', 'Date Expected');

if ( ($category_depth == 'products') || (zen_check_url_get_terms()) ){
// This section deals with product-listing page contents
define('HEADING_TITLE', 'Available Products');
define('TABLE_HEADING_IMAGE', 'Product Image');
define('TABLE_HEADING_MODEL', 'Model');
define('TABLE_HEADING_PRODUCTS', 'Product Name');
define('TABLE_HEADING_MANUFACTURER', 'Manufacturer');
define('TABLE_HEADING_QUANTITY', 'Quantity');
define('TABLE_HEADING_PRICE', 'Price');
define('TABLE_HEADING_WEIGHT', 'Weight');
define('TABLE_HEADING_BUY_NOW', 'Buy Now');
define('TEXT_NO_PRODUCTS', 'There are no products to list in this category.');
define('TEXT_NO_PRODUCTS2', 'There is no product available from this manufacturer.');
define('TEXT_NUMBER_OF_PRODUCTS', 'Number of Products: ');
define('TEXT_SHOW', 'Filter Results by:');
define('TEXT_BUY', 'Buy 1 \'');
define('TEXT_NOW', '\' now');
define('TEXT_ALL_CATEGORIES', 'All Categories');
define('TEXT_ALL_MANUFACTURERS', 'All Manufacturers');
} elseif ($category_depth == 'top') {
// This section deals with the "home" page at the top level with no options/products selected
/*Replace this text with the headline you would like for your shop. For example: 'Welcome to My SHOP!'*/
define('HEADING_TITLE', 'Congratulations! You have successfully installed your Zen Cart&trade; E-Commerce Solution.');
} elseif ($category_depth == 'nested') {
// This section deals with displaying a subcategory
/*Replace this line with the headline you would like for your shop. For example: 'Welcome to My SHOP!'*/
define('HEADING_TITLE', 'Congratulations! You have successfully installed your Zen Cart&trade; E-Commerce Solution.');

Hättest du für diese Fehlermeldung auch noch eine Lösung?

Danke für deine Zeit.


Posts: 18
Joined: 17. September 2007 09:19

Return to Apache

Who is online

Users browsing this forum: No registered users and 5 guests