site is totally screwed after importing wordpress blog

fotosbyerika.com
I've always been so careful to back up everything. I spend hours backing up but what good does it do?

I read something about being able to import worpress blog. I thought it would be a good idea but then all kinds of warnings showed up on the zenphoto site so I decided to import the previous database which was successful.

That's when the "setup files missing" showed up. Understand it's a complete blank with only the setup files missing on this blank window.

Any suggestions?

Comments

  • Normally you would remove the setup files after completing an upgrade. That is a good thing. But if you revert a database to a revision of zenphoto prior to the one you are running setup must be run to move the database forward. Since the setup files were removed, you will have to put them back to accomplish this.
  • OK so, where are they?
  • How would I know? The were in the distribution package, but I certainly do not know what you have done since downloading it.
  • acrylian Administrator, Developer
    I would like to hear more details about the Wordpress import. What errors exactly showed up after importing?
  • acrylian Administrator, Developer
    The current snv (or tonight's nightly) will contain some (hopefully) improvments of hte WP importer. In my just performed tests it did not screw anything but content was important truncated if some chars where not valid UTF-8. At least for me this does work now. It would be great to get some testing on this.
  • fretzl Administrator, Developer
    @crylian:
    I tested it locally and it all seems to work properly :-)
  • acrylian Administrator, Developer
    Thanks (like the @crylian..;-))
  • Well, if you looked at the lower part of the page, you'll see

    "Warning: require_once/home/cecon46/public_html/ etc.
    No such file in index.php on line 5

    Fatal Error: index.php on line 5

    So I fooled around with it and now there's nothing. Blank page. I have all my albums and files, though.

    By mistake, I started another post and I'm very sorry. Same complaint.
  • acrylian Administrator, Developer
    "Warning: require_once/home/cecon46/public_html/ etc.
    No such file in index.php on line 5

    Fatal Error: index.php on line 5

    Could you please post the full error? The "etc" part actually would be of interesst to see what file is missing there actually. (That is just the path to the webspace folder on your server).

    You did run setup after upgrade, right?
  • ...fotosbyerika.com/zp-core/folder-definitions.php [function.require-once]: failed to open stream: No such file or directory in...../index.php on line 5

    Oh and I did run setup after upgrade and it seemed to be good. I did delete it afterwards.

    I just thought of something. I don't have any theme in place. I used to have galleriffic but I upgraded it and now it doesn't show up.

    I have a doctor's appointment I have to get to. I'll write when I get back. Thanks for everything.
  • I'm back. I've checked everything and still all I get is a blank page. Please help me.
  • OK, I'm back. :) Got sidetracked with Christmas shopping.

    So, what can I do? What is causing the blank page?

    I've checked the cpanel's error log and, believe it or not, I don't have any errors.
  • acrylian Administrator, Developer
    Without any error we will not be able to help. Check your htaccess file this might cause this as well if not setup correctly.
  • I've been in touch with my host and they say to check my application configuration. Where is that?
  • acrylian Administrator, Developer
    Well, the application will be Zenphoto. As said check the htaccess file and review the error log, otherwise we are guessing and that will surely lead to nowhere.
  • The error message indicates a file (`zp-core/folder-definitions.php`)missing. Can you check with FTP and confirm that it does/does not exist?

    If it does not exist, setup should have noted that fact.

    If it does exist, then PHP is failing to locate it in the `require_once` function. That would be a PHP failure of some sort that only your ISP can sort out.
  • fOUND THE ERROR LOG
    [10-Dec-2010 07:48:32] PHP Warning: Missing argument 1 for checkforPassword(), called in /home/cecon46/public_html/fotosbyerika.com/themes/zpgalleriffic/news.php on line 25 and defined in /home/cecon46/public_html/fotosbyerika.com/zp-core/template-functions.php on line 4375
    [10-Dec-2010 07:48:32] PHP Warning: Missing argument 2 for checkforPassword(), called in /home/cecon46/public_html/fotosbyerika.com/themes/zpgalleriffic/news.php on line 25 and defined in /home/cecon46/public_html/fotosbyerika.com/zp-core/template-functions.php on line 4375
    [10-Dec-2010 07:50:58] PHP Warning: Missing argument 1 for checkforPassword(), called in /home/cecon46/public_html/fotosbyerika.com/themes/zpgalleriffic/news.php on line 25 and defined in /home/cecon46/public_html/fotosbyerika.com/zp-core/template-functions.php on line 4375
    [10-Dec-2010 07:50:58] PHP Warning: Missing argument 2 for checkforPassword(), called in /home/cecon46/public_html/fotosbyerika.com/themes/zpgalleriffic/news.php on line 25 and defined in /home/cecon46/public_html/fotosbyerika.com/zp-core/template-functions.php on line 4375
    [10-Dec-2010 08:15:28] PHP Warning: Missing argument 1 for checkforPassword(), called in /home/cecon46/public_html/fotosbyerika.com/themes/zpgalleriffic/news.php on line 25 and defined in /home/cecon46/public_html/fotosbyerika.com/zp-core/template-functions.php on line 4375
    [10-Dec-2010 08:15:28] PHP Warning: Missing argument 2 for checkforPassword(), called in /home/cecon46/public_html/fotosbyerika.com/themes/zpgalleriffic/news.php on line 25 and defined in /home/cecon46/public_html/fotosbyerika.com/zp-core/template-functions.php on line 4375
    [10-Dec-2010 23:09:16] PHP Warning: Missing argument 1 for checkforPassword(), called in /home/cecon46/public_html/fotosbyerika.com/themes/zpgalleriffic/news.php on line 25 and defined in /home/cecon46/public_html/fotosbyerika.com/zp-core/template-functions.php on line 4375
    [10-Dec-2010 23:09:16] PHP Warning: Missing argument 2 for checkforPassword(), called in /home/cecon46/public_html/fotosbyerika.com/themes/zpgalleriffic/news.php on line 25 and defined in /home/cecon46/public_html/fotosbyerika.com/zp-core/template-functions.php on line 4375
    [10-Dec-2010 23:52:37] PHP Warning: Missing argument 1 for checkforPassword(), called in /home/cecon46/public_html/fotosbyerika.com/themes/zpgalleriffic/news.php on line 25 and defined in /home/cecon46/public_html/fotosbyerika.com/zp-core/template-functions.php on line 4375
    [10-Dec-2010 23:52:37] PHP Warning: Missing argument 2 for checkforPassword(), called in /home/cecon46/public_html/fotosbyerika.com/themes/zpgalleriffic/news.php on line 25 and defined in /home/cecon46/public_html/fotosbyerika.com/zp-core/template-functions.php on line 4375
    [12-Dec-2010 15:26:08] PHP Warning: Missing argument 1 for checkforPassword(), called in /home/cecon46/public_html/fotosbyerika.com/themes/zpgalleriffic/news.php on line 25 and defined in /home/cecon46/public_html/fotosbyerika.com/zp-core/template-functions.php on line 4375
    [12-Dec-2010 15:26:08] PHP Warning: Missing argument 2 for checkforPassword(), called in /home/cecon46/public_html/fotosbyerika.com/themes/zpgalleriffic/news.php on line 25 and defined in /home/cecon46/public_html/fotosbyerika.com/zp-core/template-functions.php on line 4375
    [13-Dec-2010 00:20:59] PHP Warning: Missing argument 1 for checkforPassword(), called in /home/cecon46/public_html/fotosbyerika.com/themes/zpgalleriffic/news.php on line 25 and defined in /home/cecon46/public_html/fotosbyerika.com/zp-core/template-functions.php on line 4375
    [13-Dec-2010 00:20:59] PHP Warning: Missing argument 2 for checkforPassword(), called in /home/cecon46/public_html/fotosbyerika.com/themes/zpgalleriffic/news.php on line 25 and defined in /home/cecon46/public_html/fotosbyerika.com/zp-core/template-functions.php on line 4375
    [13-Dec-2010 10:51:17] PHP Warning: Missing argument 1 for checkforPassword(), called in /home/cecon46/public_html/fotosbyerika.com/themes/zpgalleriffic/news.php on line 25 and defined in /home/cecon46/public_html/fotosbyerika.com/zp-core/template-functions.php on line 4375
    [13-Dec-2010 10:51:17] PHP Warning: Missing argument 2 for checkforPassword(), called in /home/cecon46/public_html/fotosbyerika.com/themes/zpgalleriffic/news.php on line 25 and defined in /home/cecon46/public_html/fotosbyerika.com/zp-core/template-functions.php on line 4375
    [13-Dec-2010 12:31:22] PHP Warning: Missing argument 1 for checkforPassword(), called in /home/cecon46/public_html/fotosbyerika.com/themes/zpgalleriffic/news.php on line 25 and defined in /home/cecon46/public_html/fotosbyerika.com/zp-core/template-functions.php on line 4375
    [13-Dec-2010 12:31:22] PHP Warning: Missing argument 2 for checkforPassword(), called in /home/cecon46/public_html/fotosbyerika.com/themes/zpgalleriffic/news.php on line 25 and defined in /home/cecon46/public_html/fotosbyerika.com/zp-core/template-functions.php on line 4375
    [14-Dec-2010 05:24:01] PHP Warning: require_once(/home/cecon46/public_html/fotosbyerika.com/zp-core/folder-definitions.php) [function.require-once]: failed to open stream: No such file or directory in /home/cecon46/public_html/fotosbyerika.com/index.php on line 5
    [14-Dec-2010 05:24:01] PHP Fatal error: require_once() [function.require]: Failed opening required '/home/cecon46/public_html/fotosbyerika.com/zp-core/folder-definitions.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/cecon46/public_html/fotosbyerika.com/index.php on line 5
    [14-Dec-2010 05:30:58] PHP Warning: require_once(/home/cecon46/public_html/fotosbyerika.com/zp-core/folder-definitions.php) [function.require-once]: failed to open stream: No such file or directory in /home/cecon46/public_html/fotosbyerika.com/index.php on line 5
    [14-Dec-2010 05:30:58] PHP Fatal error: require_once() [function.require]: Failed opening required '/home/cecon46/public_html/fotosbyerika.com/zp-core/folder-definitions.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/cecon46/public_html/fotosbyerika.com/index.php on line 5
    [14-Dec-2010 05:52:56] PHP Warning: require_once(/home/cecon46/public_html/fotosbyerika.com/zp-core/folder-definitions.php) [function.require-once]: failed to open stream: No such file or directory in /home/cecon46/public_html/fotosbyerika.com/index.php on line 5
    [14-Dec-2010 05:52:56] PHP Fatal error: require_once() [function.require]: Failed opening required '/home/cecon46/public_html/fotosbyerika.com/zp-core/folder-definitions.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/cecon46/public_html/fotosbyerika.com/index.php on line 5
    [14-Dec-2010 06:14:48] PHP Warning: require_once(/home/cecon46/public_html/fotosbyerika.com/zp-core/folder-definitions.php) [function.require-once]: failed to open stream: No such file or directory in /home/cecon46/public_html/fotosbyerika.com/index.php on line 5
    [14-Dec-2010 06:14:48] PHP Fatal error: require_once() [function.require]: Failed opening required '/home/cecon46/public_html/fotosbyerika.com/zp-core/folder-definitions.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/cecon46/public_html/fotosbyerika.com/index.php on line 5
    [14-Dec-2010 06:14:51] PHP Warning: require_once(/home/cecon46/public_html/fotosbyerika.com/zp-core/folder-definitions.php) [function.require-once]: failed to open stream: No such file or directory in /home/cecon46/public_html/fotosbyerika.com/index.php on line 5
    [14-Dec-2010 06:14:51] PHP Fatal error: require_once() [function.require]: Failed opening required '/home/cecon46/public_html/fotosbyerika.com/zp-core/folder-definitions.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/cecon46/public_html/fotosbyerika.com/index.php on line 5
    [14-Dec-2010 06:15:22] PHP Warning: require_once(/home/cecon46/public_html/fotosbyerika.com/zp-core/folder-definitions.php) [function.require-once]: failed to open stream: No such file or directory in /home/cecon46/public_html/fotosbyerika.com/index.php on line 5
    [14-Dec-2010 06:15:22] PHP Fatal error: require_once() [function.require]: Failed opening required '/home/cecon46/public_html/fotosbyerika.com/zp-core/folder-definitions.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/cecon46/public_html/fotosbyerika.com/index.php on line 5
    [14-Dec-2010 06:16:56] PHP Warning: require_once(/home/cecon46/public_html/fotosbyerika.com/zp-core/folder-definitions.php) [function.require-once]: failed to open stream: No such file or directory in /home/cecon46/public_html/fotosbyerika.com/index.php on line 5
    [14-Dec-2010 06:16:56] PHP Fatal error: require_once() [function.require]: Failed opening required '/home/cecon46/public_html/fotosbyerika.com/zp-core/folder-definitions.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/cecon46/public_html/fotosbyerika.com/index.php on line 5
    [14-Dec-2010 06:18:36] PHP Warning: require_once(/home/cecon46/public_html/fotosbyerika.com/zp-core/folder-definitions.php) [function.require-once]: failed to open stream: No such file or directory in /home/cecon46/public_html/fotosbyerika.com/index.php on line 5
    [14-Dec-2010 06:18:36] PHP Fatal error: require_once() [function.require]: Failed opening required '/home/cecon46/public_html/fotosbyerika.com/zp-core/folder-definitions.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/cecon46/public_html/fotosbyerika.com/index.php on line 5
    [14-Dec-2010 06:26:56] PHP Warning: require_once(/home/cecon46/public_html/fotosbyerika.com/zp-core/folder-definitions.php) [function.require-once]: failed to open stream: No such file or directory in /home/cecon46/public_html/fotosbyerika.com/index.php on line 5
    [14-Dec-2010 06:26:56] PHP Fatal error: require_once() [function.require]: Failed opening required '/home/cecon46/public_html/fotosbyerika.com/zp-core/folder-definitions.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/cecon46/public_html/fotosbyerika.com/index.php on line 5
    [14-Dec-2010 06:41:18] PHP Warning: require_once(/home/cecon46/public_html/fotosbyerika.com/zp-core/folder-definitions.php) [function.require-once]: failed to open stream: No such file or directory in /home/cecon46/public_html/fotosbyerika.com/index.php on line 5
    [14-Dec-2010 06:41:19] PHP Fatal error: require_once() [function.require]: Failed opening required '/home/cecon46/public_html/fotosbyerika.com/zp-core/folder-definitions.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/cecon46/public_html/fotosbyerika.com/index.php on line 5
    [14-Dec-2010 06:44:24] PHP Warning: require_once(/home/cecon46/public_html/fotosbyerika.com/zp-core/folder-definitions.php) [function.require-once]: failed to open stream: No such file or directory in /home/cecon46/public_html/fotosbyerika.com/index.php on line 5
    [14-Dec-2010 06:44:24] PHP Fatal error: require_once() [function.require]: Failed opening required '/home/cecon46/public_html/fotosbyerika.com/zp-core/folder-definitions.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/cecon46/public_html/fotosbyerika.com/index.php on line 5
    [14-Dec-2010 06:44:24] PHP Warning: require_once(/home/cecon46/public_html/fotosbyerika.com/zp-core/folder-definitions.php) [function.require-once]: failed to open stream: No such file or directory in /home/cecon46/public_html/fotosbyerika.com/index.php on line 5
    [14-Dec-2010 06:44:24] PHP Fatal error: require_once() [function.require]: Failed opening required '/home/cecon46/public_html/fotosbyerika.com/zp-core/folder-definitions.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/cecon46/public_html/fotosbyerika.com/index.php on line 5

    Also, I found the folder-definitions.php
  • These 13 December errors indicate a theme problem. Are you running the nightly build? if so, then the 14 December errors are probably also theme incompatibilities.

    Have you tried running a standard theme?
  • I'll give it a go.
  • No matter which one I activate, it always comes up blank
  • acrylian Administrator, Developer
    I did visit your site and what you have is a modrewrite/htaccess issue. Either your htaccess file is screwed up, your server misconfigured for this or you did not set the backend option for modrewrite.

    Try yourself. This none modrewrite link works:
    http://fotosbyerika.com/index.php?album=people&image=fitness_class.jpg
    while the modrewrite one does come up with the blank page:
    http://fotosbyerika.com/people/fitness_class.jpg.php

    For sure this has nothing to do with the Wordpress import as you initially suspected.
  • # htaccess file version 1.2.8.0;
    # 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 files
    # Update the above and the define in setup.php

    <IfModule mod_rewrite.c>
    RewriteEngine On

    RewriteBase /

    RewriteRule ^admin/?$ zp-core/admin.php [R,L]

    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^albums/?(.+/?)?$ $1 [R=301,L]

    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^.*$ - [L]

    RewriteRule index\.php$ index.php [L,QSA]
    RewriteRule ^page/([0-9]+)/?$ index.php?page=$1 [L,QSA]
    RewriteRule ^page/([A-Za-z0-9_\-]+)/?$ index.php?p=$1 [L,QSA]
    RewriteRule ^page/([A-Za-z0-9_\-]+)/([0-9]+)/?$ index.php?p=$1&page=$2 [L,QSA]
    RewriteRule ^(.*)/page/([0-9]+)/?$ index.php?album=$1&page=$2 [L,QSA]
    RewriteRule ^(.*)/page/([A-Za-z0-9_\-]+)/?$ index.php?album=$1&p=$2 [L,QSA]

    #### Rewrite rule addition for search
    RewriteRule ^page/search/fields([0-9]+)/(.*)/([0-9]+)/?$ index.php?p=search&searchfields=$1&words=$2&page=$3 [L,QSA]
    RewriteRule ^page/search/fields([0-9]+)/(.*)/?$ index.php?p=search&searchfields=$1&words=$2 [L,QSA]
    RewriteRule ^page/search/archive/(.*)/([0-9]+)/?$ index.php?p=search&date=$1&page=$2 [L,QSA]
    RewriteRule ^page/search/archive/(.*)/?$ index.php?p=search&date=$1 [L,QSA]
    RewriteRule ^page/search/tags/(.*)/([0-9]+)/?$ index.php?p=search&searchfields=tags&words=$1&page=$2 [L,QSA]
    RewriteRule ^page/search/tags/(.*)/?$ index.php?p=search&searchfields=tags&words=$1 [L,QSA]
    RewriteRule ^page/search/(.*)/([0-9]+)/?$ index.php?p=search&words=$1&page=$2 [L,QSA]
    RewriteRule ^page/search/(.*)/?$ index.php?p=search&words=$1 [L,QSA]
    #### Rewrite additions for zenpage
    RewriteRule ^pages/?$ index.php?p=pages [L,QSA]
    RewriteRule ^pages/(.*)/?$ index.php?p=pages&title=$1 [L,QSA]
    RewriteRule ^news/?$ index.php?p=news [L,QSA]
    RewriteRule ^news/([0-9]+)/?$ index.php?p=news&page=$1 [L,QSA]
    RewriteRule ^news/category/(.*)/([0-9]+)/?$ index.php?p=news&category=$1&page=$2 [L,QSA]
    RewriteRule ^news/category/(.*)/?$ index.php?p=news&category=$1 [L,QSA]
    RewriteRule ^news/archive/(.*)/([0-9]+)/?$ index.php?p=news&date=$1&page=$2 [L,QSA]
    RewriteRule ^news/archive/(.*)/?$ index.php?p=news&date=$1 [L,QSA]
    RewriteRule ^news/(.*)/?$ index.php?p=news&title=$1 [L,QSA]

    RewriteRule ^(.*)/image/(thumb|[0-9]{1,4})/([^/\\]+)$ zp-core/i.php?a=$1&i=$3&s=$2 [L,QSA]
    RewriteRule ^(.*)/image/([^/\\]+)$ zp-core/i.php?a=$1&i=$2 [L,QSA]
    RewriteRule ^(.*)/album/(thumb|[0-9]{1,4})/([^/\\]+)$ zp-core/i.php?a=$1&i=$3&s=$2&album=true [L,QSA]
    ####

    # Catch-all - everything else gets handled in PHP for compatibility.
    RewriteRule ^(.*)/?$ index.php?album=$1 [L,QSA]
    </IfModule>

    BTW, I tried both and they both come up blank.
  • acrylian Administrator, Developer
    I can access even modrewrite image page links if I call them directly but not with next/prev.

    Please disable the static_html_cache plugin, might be that you see the issue of a bug recently reported and already corrected in the nightly, that only did affect a few servers.
  • Yes, indeed, that was it.
Sign In or Register to comment.