setup scripts missing

Hello,

Have recently moved Zenphoto to a new server. Upon accessing it for the first time on the new server, I get:

"setup scripts missing"

And nothing more than this.

Attempted to search the forum for help but have been unable to locate any relevant threads. If someone could help me out with this I'd appreciate it.

Thanks
«13

Comments

  • I have just checked the error log:

    [02-Mar-2011 17:52:25] PHP Warning: Module 'mysqli' already loaded in Unknown on line 0
    [02-Mar-2011 18:05:00] PHP Warning: Module 'mysqli' already loaded in Unknown on line 0
    [02-Mar-2011 18:33:38] PHP Warning: Module 'mysqli' already loaded in Unknown on line 0

    Unsure if connected to this.
  • Sorry for yet another reply but as my posts are being moderated I cannot edit my original response.

    I have reuploaded the setup files and directory.

    I reran setup and it offered some upgrade options (even though I only reuploaded the setup dir/files). I ran the upgrade and it stuck on updating tables for about a minute and completed successfully.

    I attempted to access the gallery again and now I can use it just fine again.

    Not sure if the cause or if I should have done that but it appears to have corrected the issue.
  • acrylian Administrator, Developer
    Well, after installing the setup scripts forces you to delete the setup scripts for security reasons. If you moved your installation (instead of really installing as usual) you need to reupload them of course.
  • After being informed, that my Gallery (www.photobocks.de) showed this error, I set it up again on March 1st.
    I did the complete update procedure described on the zenphoto page and my page showed up perfectly.

    Today, two days later, I checked again and it only says "setup scripts missing again". I do know that pages don't change by itself, but I don't know what happend.

    I will setup my page again today and leave it as it is. As soon as it is online again I will add another post to this threat. And then I will see what will happen.

    If any of you zenphoto developer would like to have a closer look, I will be more than happy to provide you with a ftp and/or account for administrating the gallery.
  • Ok. The page is up and running.....
  • acrylian Administrator, Developer
    Well, the setup scripts surely do not delete itself. There is a link for you to delete theme manually after setup is completed. Besides that it does not do anything except you did deleted them manually via ftp.
  • I'm getting this problem when switching back and forth between nonSSL and SSL. I installed this site using my nonSSL URL, finished the install, nuked the setup files and everything looked fine. I then logged into admin and set "server protocol" to "secure admin". After I saved this setting, I logged out. I was able to browse the HTTP site, but loading the admin login page with HTTPS resulted in the "setup files missing" error. I reuploaded the setup files and ran them using the HTTPS URL. That finished and using the site with HTTPS worked fine, but not the HTTP site was displaying the "missing files" error. I've now tried several variations on the above install routine and it does seem to be either or. Which ever protocol was used to setup the site has to be used to browse and admin the site other wise the error message will display, or if the setup files are there, setup will attempt to run.
  • acrylian Administrator, Developer
    You need to setup your server for each domain to use https: Simply speaking http://yourdomain.com and https://yourdomain.com are technically separate adresses (as are www.yourdomain and yourdomain.com).

    Please ask your host how to set this up or if it is available for your webspace at all (not all shared hosts do support that).
  • not sure I follow. I'm running this on my own system and it used to work in the past. I used to able to access my ZP install from either http and https. Now I have to stick with one or the other for when I run the setup via http, I get the aforementioned error when accessing the site via https. If I then rerun the setup via https to appease the error, I get the aforementioned error when accessing the site over http. Why would this be different from Wordpress and any other app I have installed on the same domain? I can access my WP site from both http and https addresses without WP prompting me to reinstall.
  • Please provide the values for the PHP variables:

    `$_SERVER['SERVER_ADMIN']`
    and
    `$_SERVER['DOCUMENT_ROOT']`

    for each of the access modes.
  • document root is the same path for both...

    /var/www/www.domain.net

    ...server admin is different
    root@locahost vs webmaster@localhost
  • Needs to have the same server admin, otherwise we consider it a different installation.
  • Hello, after doing all my CSS et code customisation on my local server (Zenphopto 1.4.0.2) I decided it was time to launch the site (Zenphoto 1.4.0.3)

    So I install Zenphoto as for the first time in my hoster.
    Then I uploaded my theme and I started to set all the little thing in zenphoto.

    Now I have this message "setup scripts missing". But the strange thing is that this message comes time to time and sometimes after a while the site runs again.

    Any idea or things to check on my hoster ?
  • acrylian Administrator, Developer
    After you installed Zenphoto you need to run setup. After that is sucessfully completed it is recommend to delete all setup files for security reasons. Therefore setup will provide a link to do so after completing.

    When ever you upgrade an install setup needs to run again but if you followed our install/upgrade instructions you would upload all anyway.

    After such an upgrade setup will indeed try to run automatically if you access the site being logged in.
  • Zenphoto detects changes in installations and wishes to run setup if changed. Since you say this is an intermittant thing, the thoughts that come to mind are that perhaps there are intermittant failures of such things as file date/time/size checks. The other candidate are the two $_SERVER items above.
  • I did it : run the setup.
    I have to say that on the process I landed on the page to setup my admin login and the page was almost blanck. I refresh my browser and then it was possible to setup my login and password in the zenphoto backoffice.
  • Blank pages (or partially blank ones) are almost always an indication of an error somewhere. You should review your server logs to see what error you are getting. Might be a good clue as to the problems you have in general.
  • Hi. If I try the reinstall should I erase the MySQL Table to ?
    Because I did the reinstall as an upgrade (I deleted all files) and all the process went OK,but still this error message.
    I have to say that this message even occurs if I'm not logged in.
    I'm gonna try to do the install again from the very scratch (which means delete even the tables).

    A question : could you tell me more about :
    $_SERVER['SERVER_ADMIN']
    and
    $_SERVER['DOCUMENT_ROOT']
    ?
    Where can I find this ?

    And what about these date/time check files ?
  • acrylian Administrator, Developer
    Put `<?php echo $_SERVER['SERVER_ADMIN']; echo $_SERVER['DOCUMENT_ROOT'];?>` somewhere on your theme for both variables and tell us what you get.
  • First, thank you for your help.
    I redo everything from scratch and same problem.

    The return from your php function is : "www26@celeonet.fr/home/www/XXX/www"

    My hoster is Celeonet and my XXX is my login (to my MySQL database and admin hoster panel).
    In my root directory I have a "www" directory where I upload my site.
    My zenphoto galerie is then in a sub-directorie called "galeries".

    I've noticed again than I cannot setup my login and password directely because I have this at the en of the process :
    http://grab.by/9Ght
    then this after I've clicked on the delete setup files button :
    http://grab.by/9Ghs
    the I refresh and I get this :
    http://grab.by/9Ghn
    Anf finally I can see the admin panel who says that I can connect to admin (I enter no password nor login ID) and I've got this :
    http://grab.by/9GhL

    I don't know if it helps but I'v got this at the end of the process install :
    http://grab.by/9GiJ

    I don't know if these unusal behavior at the end of the install process (whith no error message I must say) could help to understand why then I have time to time these"setup scripts missing" error message.

    Thanks
  • First, thank you for your help.
    I redo everything from scratch and same problem.

    The return from your php function is : "www26@celeonet.fr/home/www/XXX/www"

    My hoster is Celeonet and my XXX is my login (to my MySQL database and admin hoster panel).
    In my root directory I have a "www" directory where I upload my site.
    My zenphoto galerie is then in a sub-directorie called "galeries".

    I've noticed again than I cannot setup my login and password directely because I have this at the en of the process :
    http://grab.by/9Ght
    then this after I've clicked on the delete setup files button :
    http://grab.by/9Ghs
    the I refresh and I get this :
    http://grab.by/9Ghn
    Anf finally I can see the admin panel who says that I can connect to admin (I enter no password nor login ID) and I've got this :
    http://grab.by/9GhL

    I don't know if it helps but I'v got this at the end of the process install :
    http://grab.by/9GiJ

    I don't know if these unusal behavior at the end of the install process (whith no error message I must say) could help to understand why then I have time to time these"setup scripts missing" error message.

    Thanks
  • If I understand correctly, you apparently have five different WEB addresses (The 9Gxx items) for your install. This is highly unusual and will simply not work for Zenphoto.

    Given your description of the installation, the site should be addressed by something like yourdomain.com/galleries. As to why this would be--that is a question for you to ask the Celeonet support team.
  • No the 9Gxx adresses are just adresses to host my screen captures (I'm using tinygrab services with no link to zenphoto ... just a screencapture hoster).

    By the way : I run Zenphoto on my MAMP local server with no problem and another Zenphoto site on another hoster with no problem (and with my own personnal themes).

    That's why I'm just wondering what's hapening and I have no clue !

    My only adress for my site is http://www.atelierscales.net and the zenphoto index is at http://www.atelierscales.net/galeries
    (there is no pictures at the moment and so you can have either a "normal" website page or the famous "setup scripts missing" message).
    Any idea abiyt the "return" I've got about the function acryllian suggest to insert to me to see what's the retrun ?

    Many thanks.
  • Well, first there were two items acrylin asked you to echo. You reported just one. But that is not so relevant at the moment. What we need to see is what those elements are both when the site runs correctly and when it diverts you to the setup files.

    But more to the point. The erratic of the site would tend to point to a problem with the Database. You should ask your service provider for help here. They should be able to review their server logs to find out what is happening.
  • Thanks again for your help.

    Actuallty I have for $_SERVER['SERVER_ADMIN']
    www223@celeonet.fr
    And for <?php echo $_SERVER['DOCUMENT_ROOT'];?>
    /home/www/damino/www

    I send an email to my hoster and I'm wainting for answers.

    I've seen that my memory_limit on the php.ini is 16M.
    Do you think this can explain some of my problems ? Or other php.ini parameters ?
    I'm just crazy and I re-install form scratch many times with no improve.
    In the setup_log file I've seen that the cookie test of the installation failed.
  • Could be that there is not enough memory to successfully run MySQL. The eratic behavior really points to database issues.
  • Hi, my hoster find no problem with the database and give me for free and to try more memory_limit.
    But no way, still the "erratic" running zenphoto.

    The strange thing is that I have no problem on the same database with a Wordpress installation.
    And no problem with Zenphoto on other hoster.
    One more question : when the message error says "setup scripts missing" : which files are we talong about and what is the process that normaly brings to this message.

    Probably an incompatibility with Zenphoto and one of the parameters of Celeonet (should something in the php.ini or somewhere else with the server functions could brings this message ?)

    Thanks.
  • acrylian Administrator, Developer
    You get that error, when, well, the setup scripts are missing. That is either the case that Zenphoto is not installed correctly because some files have not been uploaded.

    Or you deleted these files after installing as setup suggest after completion and also provides a link to.
  • If I uplaod again the setup.php, setup_set-mod_rewrite.php and all the files whithin the setup directory and I run the install process as if ti was an update I've notice this message (it is a translation form French to english :

    Some basic files of Zenphoto are missing or their modification date doesn't match
    Attention !

    A problem may have occurs during the upload to the server? You shoul check les followin files :
    zp-core/setup.php
    zp-core/setup_set-mod_rewrite.php
    zp-core/setup/setup-functions.php
    zp-core/setup/setup-option-defaults.php
    zp-core/setup/setup-primitive.php
    zp-core/setup/setup-sqlform.php
    zp-core/setup/setup.css
    zp-core/setup/setup_permissions_changer.php
    zp-core/setup/setup_themeOptions.php

    If I check I have all these files on my server but may it's a begining of a solution ... I hope ...
  • acrylian Administrator, Developer
    This is just a warning about the file times as you uploaded them later as the others. I think you can just proceed.
Sign In or Register to comment.