Search

dan

It took me a while but one has to enter two backslashes for each of the backslashes one wants to display. After the 20 minutes it took me to get that worked out, I had the feeling that your code snippet was right but just displaying wrong.

Thanks for looking in to the bug. We’re just using my vista machine for development and the only time the %5c bit happens is when going from frontend to backend. I can develop the back end on Chrome (or … gulp… IE) and accomplish what I need to.

It is a bug that I’d like to see worked out long term though, for the symphony project as a whole.

Thanks for the help.

Will

Hi Will, I am again: I have the tips in this Diskution followed. Have re-installed the cms. The URL’s are now displayed correctly (no matter what browser) only the link for the administration area is wrong. Here is the URL

 /symphony/symphony/publish/articles/ 

search would be right though:

http://symphony.domain.net/symphony/publish/articles/

I publish my VHost again:

VirtualHost *:80 ServerAdmin webmaster@gmail.com ServerName symphony.domain.net DocumentRoot “E:/xampp/htdocs/symphony” ErrorLog “E:/xampp/htdocs/symphony/logs/error_log /VirtualHost

The htaccess files(2X), I have not changed. Sorry for my bad english.

My Machine: WindowsXP SP3 + Webserver: XAMPP 1.6.

Thank you

FYI ALL:

Windows Vista Service Pack 2

I downloaded Vista SP2 this weekend and have not had problems. I reinstalled Symphony with the recent fixes and all seems to be working well.

3.3 Instructions > 3.3.2 Install from ZIP:

  • install.sql
  • LICENCE
  • README.markdown and
  • update.php

aren’t included in the list of files to upload. Not sure if all of these are necessary, but install.sql surely is.

A little help with local installation?

I have set-up: - Apache 2.2.17 - PHP 5.3.6 - MySQL 5.1.56 on a Windows XP SP3.

Looking at the install log, Symphony seems to install without errors. However, I am not taken to the login screen. Instead, a directory page shows up and I can browse folders under /symphony. Nothing of the backend...

This is what I see right after installing:

Index of /www/symphony
    Parent Directory
    assets/
    content/
    lib/
    template/

And if I go to /www/workspace I can see the folders in the workspace directory and browse them in the same way.

Here is the install log:

============================================
Log Created: 2011-04-20T22:36:02+02:00
============================================
Symphony Installer Log
Opened: 2011-04-20T22:36:02+02:00
Version: 2.2
Domain: http://localhost:8080/www
--------------------------------------------

============================================
INSTALLATION PROCESS STARTED (2011-04-20T22:37:06+02:00)
============================================
2011/04/20 22:37:06 > Notice: MYSQL: Establishing Connection...Done
2011/04/20 22:37:06 > Notice: MYSQL: Selecting Database 'mr_sym'...Done
2011/04/20 22:37:06 > Notice: MYSQL: Importing Table Schema...Done
2011/04/20 22:37:06 > Notice: MYSQL: Creating Default Author...Done
2011/04/20 22:37:06 > Notice: WRITING: Creating 'manifest' folder (/manifest)
2011/04/20 22:37:06 > Notice: WRITING: Creating 'logs' folder (/manifest/logs)
2011/04/20 22:37:06 > Notice: WRITING: Creating 'cache' folder (/manifest/cache)
2011/04/20 22:37:06 > Notice: WRITING: Creating 'tmp' folder (/manifest/tmp)
2011/04/20 22:37:06 > Notice: WRITING: Configuration File
2011/04/20 22:37:06 > Notice: CONFIGURING: Frontend
2011/04/20 22:37:06 > Notice: WRITING: Creating 'workspace' folder (/workspace)
2011/04/20 22:37:06 > Notice: WRITING: Creating 'data-sources' folder (/workspace/data-sources)
2011/04/20 22:37:06 > Notice: WRITING: Creating 'events' folder (/workspace/events)
2011/04/20 22:37:06 > Notice: WRITING: Creating 'pages' folder (/workspace/pages)
2011/04/20 22:37:06 > Notice: WRITING: Creating 'utilities' folder (/workspace/utilities)
2011/04/20 22:37:06 > Notice: Installation Process Completed In 1 sec
============================================
INSTALLATION COMPLETED: Execution Time - 1 sec (20.04.11 22:37:06)
============================================

This is my first time trying to set-up local dev environment and I might have missed something... I am not using a package, I installed everything manually. The Apache is working fine, PHP is working too, the database with all tables was created successfully... I have no idea where to look. Would it be a PHP extention I didn't enable?

Please, any advice will be appreciated! Thanks!

Is mod_rewrite enabled?

Yes, I double checked. Maybe another module that Symphony needs and I haven't enabled?

I tried enabling all modules one by one, but there's no difference. Here are all the modules:

LoadModule actions_module modules/mod_actions.so
LoadModule alias_module modules/mod_alias.so
LoadModule asis_module modules/mod_asis.so
LoadModule auth_basic_module modules/mod_auth_basic.so
#LoadModule auth_digest_module modules/mod_auth_digest.so
#LoadModule authn_alias_module modules/mod_authn_alias.so
#LoadModule authn_anon_module modules/mod_authn_anon.so
#LoadModule authn_dbd_module modules/mod_authn_dbd.so
#LoadModule authn_dbm_module modules/mod_authn_dbm.so
LoadModule authn_default_module modules/mod_authn_default.so
LoadModule authn_file_module modules/mod_authn_file.so
#LoadModule authnz_ldap_module modules/mod_authnz_ldap.so
#LoadModule authz_dbm_module modules/mod_authz_dbm.so
LoadModule authz_default_module modules/mod_authz_default.so
LoadModule authz_groupfile_module modules/mod_authz_groupfile.so
LoadModule authz_host_module modules/mod_authz_host.so
#LoadModule authz_owner_module modules/mod_authz_owner.so
LoadModule authz_user_module modules/mod_authz_user.so
LoadModule autoindex_module modules/mod_autoindex.so
#LoadModule cache_module modules/mod_cache.so
#LoadModule cern_meta_module modules/mod_cern_meta.so
LoadModule cgi_module modules/mod_cgi.so
#LoadModule charset_lite_module modules/mod_charset_lite.so
#LoadModule dav_module modules/mod_dav.so
#LoadModule dav_fs_module modules/mod_dav_fs.so
#LoadModule dav_lock_module modules/mod_dav_lock.so
#LoadModule dbd_module modules/mod_dbd.so
#LoadModule deflate_module modules/mod_deflate.so
LoadModule dir_module modules/mod_dir.so
#LoadModule disk_cache_module modules/mod_disk_cache.so
#LoadModule dumpio_module modules/mod_dumpio.so
LoadModule env_module modules/mod_env.so
#LoadModule expires_module modules/mod_expires.so
#LoadModule ext_filter_module modules/mod_ext_filter.so
#LoadModule file_cache_module modules/mod_file_cache.so
#LoadModule filter_module modules/mod_filter.so
#LoadModule headers_module modules/mod_headers.so
#LoadModule ident_module modules/mod_ident.so
#LoadModule imagemap_module modules/mod_imagemap.so
LoadModule include_module modules/mod_include.so
#LoadModule info_module modules/mod_info.so
LoadModule isapi_module modules/mod_isapi.so
#LoadModule ldap_module modules/mod_ldap.so
#LoadModule logio_module modules/mod_logio.so
LoadModule log_config_module modules/mod_log_config.so
#LoadModule log_forensic_module modules/mod_log_forensic.so
#LoadModule mem_cache_module modules/mod_mem_cache.so
LoadModule mime_module modules/mod_mime.so
#LoadModule mime_magic_module modules/mod_mime_magic.so
LoadModule negotiation_module modules/mod_negotiation.so
#LoadModule proxy_module modules/mod_proxy.so
#LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
#LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
#LoadModule proxy_connect_module modules/mod_proxy_connect.so
#LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
#LoadModule proxy_http_module modules/mod_proxy_http.so
#LoadModule proxy_scgi_module modules/mod_proxy_scgi.so
#LoadModule reqtimeout_module modules/mod_reqtimeout.so
LoadModule rewrite_module modules/mod_rewrite.so
LoadModule setenvif_module modules/mod_setenvif.so
#LoadModule speling_module modules/mod_speling.so
#LoadModule ssl_module modules/mod_ssl.so
#LoadModule status_module modules/mod_status.so
#LoadModule substitute_module modules/mod_substitute.so
#LoadModule unique_id_module modules/mod_unique_id.so
#LoadModule userdir_module modules/mod_userdir.so
#LoadModule usertrack_module modules/mod_usertrack.so
#LoadModule version_module modules/mod_version.so
#LoadModule vhost_alias_module modules/mod_vhost_alias.so
LoadModule php5_module "c:/php/php5apache2_2.dll"

I also tried enabling php extensions, but this didn't make a difference either. Maybe something in the .htaccess file doesn't look right?

### Symphony 2.2.x ###
Options +FollowSymlinks -Indexes

<IfModule mod_rewrite.c>

    RewriteEngine on
    RewriteBase /www/

    ### SECURITY - Protect crucial files
    RewriteRule ^manifest/(.*)$ - [F]
    RewriteRule ^workspace/utilities/(.*).xsl$ - [F]
    RewriteRule ^workspace/pages/(.*).xsl$ - [F]
    RewriteRule ^(.*).sql$ - [F]

    ### DO NOT APPLY RULES WHEN REQUESTING "favicon.ico"
    RewriteCond %{REQUEST_FILENAME} favicon.ico [NC]
    RewriteRule .* - [S=14]

    ### IMAGE RULES
    RewriteRule ^image/(.+.(jpg|gif|jpeg|png|bmp))$ extensions/jit_image_manipulation/lib/image.php?param=$1 [L,NC]

    ### CHECK FOR TRAILING SLASH - Will ignore files
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_URI} !/$
    RewriteCond %{REQUEST_URI} !(.*)/$
    RewriteRule ^(.*)$ $1/ [L,R=301]

    ### URL Correction
    RewriteRule ^(symphony/)?index.php(/.*/?) $1$2 [NC]

    ### ADMIN REWRITE
    RewriteRule ^symphony/?$ index.php?mode=administration&%{QUERY_STRING} [NC,L]

    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^symphony(/(.*/?))?$ index.php?symphony-page=$1&mode=administration&%{QUERY_STRING}   [NC,L]

    ### FRONTEND REWRITE - Will ignore files and folders
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^(.*/?)$ index.php?symphony-page=$1&%{QUERY_STRING}    [L]

</IfModule>
######

Thanks a lot for the help.

Have you checked your virtual server setup? You must set:

AllowOverride All

Yes, thank you so much! I realise, this is something basic I should have known. At least I hope this would be useful to others with their local installation.

Bingo!

Create an account or sign in to comment.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details