![]() |
|
setup scripts missing - - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: setup scripts missing - (/thread-9437.html) |
setup scripts missing - - zoidbrg - 2012-01-03 Hello, Well, I have a problem with my Zenphoto installation. When I go to http://www.nikoview.com, everything is ok. But if I write http://nikoview.com, the message "setup scripts missing" appears. I have reinstalled everything several times, with setup.php and regenerated htaccess file whithout succes. My .htaccess is like this : htaccess file version 1.4.1;When Zenphoto requires changes to the rewrite rules:First make a copy of this file as 'oldhtaccess' in the zp-core folder so setup can test for unmodified filesUpdate the above and the define in setup.phpRewriteEngine On RewriteBase / RewriteRule ^admin/?$ zp-core/admin.php [R,L] RewriteCond %{REQUEST_FILENAME} -d RewriteCond %{REQUEST_FILENAME} -f [OR] put no rules before this lineSetEnv REGISTER_GLOBALS 0 ####################### Rewrite rules for removed sitemap.phpRewriteRule ^sitemap.php index.php?sitemap [L,R=301] Rewrite rules for removed RSS files
RewriteCond %{QUERY_STRING} withimages&lang=(.*)
RewriteCond %{QUERY_STRING} type=(.)&lang=(.) RewriteCond %{QUERY_STRING} lang=(.*)&albumsmode RewriteCond %{QUERY_STRING} lang=(.)&category=(.) RewriteCond %{QUERY_STRING} lang=(.*) rewrite rule for tinyURLsRewriteRule ^tiny/([0-9]+)/?$ index.php?p=$1&t [L,QSA] RewriteRule index.php$ index.php [L,QSA] Rewrite rule addition for searchRewriteRule ^page/search/fields([0-9]+)/(.)/([0-9]+)/?$ index.php?p=search&searchfields=$1&words=$2&page=$3 [L,QSA] Rewrite additions for zenpage
RewriteRule ^pages/(.)/?$ index.php?p=pages&title=$1 [L,QSA] RewriteRule ^(.)/image/(thumb|[0-9]{1,4})/([^/\]+)$ zp-core/i.php?a=$1&i=$3&s=$2 [L,QSA] Catch-all - everything else gets handled in PHP for compatibility.RewriteRule ^(.*)/?$ index.php?album=$1 [L,QSA] Do you have any idea ? Thanks a lot ! setup scripts missing - - acrylian - 2012-01-03 Please read here immediatly (and on our news section): http://www.zenphoto.org/support/topic.php?id=9951 setup scripts missing - - ferran - 2012-01-17 Hi zoidbrg! I think I had the same problem with the domain names: after install Zenphoto 1.4.1.6 from www.mydomain.net all access to mydomain.net finished in a "setup scripts missing" error. If I try to install Zenphoto from mydomain.net then the same error appears when accessing to www.mydomain.net. I am not a web expert but I found a solution or workaround that worked well for me: I think that the problem is related to the fact that mydomain.net and www.mydomain.net are two different domains and Zenphoto thinks that it is only installed in one of them. The easy solution is to use only one of the domains, the same where we have run the Zenphoto setup. So we have to rewrite domain.net to www.domain.net or vice versa. This is very easy if you have modrewrite enabled. You have to add this lines to your .htaccess file: Rewritecond %{HTTP_HOST} !^www.mydomain.net Here you have an explanation more complete than the four lines I can write with my poor english: As I said, it worked for me. I hope it works for you too! Kind regards!! Ferran setup scripts missing - - acrylian - 2012-01-17 Yes, mysite.com or www.mysite.com are generally complete different web addresses (www is actually a subdomain). Most servers are nowadays configured to support both the same but Ferran's suggestion is the way to do it and recommended practice for SEO ("Duplicate content" phenomenon) anyway. You need to make one domain (www or non www) the "main domain" the url is redirected to to use several domains with one install. Just to add, this is nothing Zenphoto specific. |