I am having a recurrent and strange issue with the last gallery I have installed. Once setup is over, everything runs smooth. But suddenly the setup script comes up on a white page: "Zenphoto needs to run setup but the setup scripts are not present. Please reinstall the setup scripts."
After some time, it starts working again.
Here's the more interesting part: I have another gallery on the same server but never had any issue as such.
So thinking it might be the installation corrupted then I installed another one. Just finished now and same story occurs again. Frustration is back and I honestly can't think of anything wrong I did.
Comments
admintoobject
MySQL Query ( SHOW FULL COLUMNS FROM `[prefix]admintoobject` ) failed. MySQL returned the error Table 'projecosteel._admintoobject' doesn't exist
So apparently the database is returning that it has a table named `admintoobject` but then denying it when we ask for the columns of that table. Note also that the real name of the table is `admin_to_object` so somewhere the underscores have been lost.
Do you use "localost" as the server name for the database server? Maybe sometimes that does not work if requests are handled by a different server. See if there is a real server name for the database server.
Nevertheless, I am not the expert on the setup stuff and why it runs automatically unneeded which this topic is actually about and I was referring to. This db tool surely has nothing to do with that...:-)
Best look at the database directly using a tool like phpmyadmin to see what is there.
_administrators
_admin_to_object
_albums
_captcha
_comments
_images
_menu
_news
_news2cat
_news_categories
_obj_to_tag
_options
_pages
_plugin_storage
_search_cache
_tags
Should I look anything specific?
By the way while I was trying to analyze the DB structure in MySQL I have noticed that in the last version the tables prefix is "-" while in the previous it was setup as "zp_". Don't know if this makes any difference.
I hope my issue will open eyes on possible issues some other users might face. Thanks!
In the old version the prefix was "zp_" while in the new one is only "_". Could this be the main cause of what has occurred?
So change the suffix in the config file and rerun setup to use the old one.
I have kept a copy of an old install and currently using that one which is stable and no issues so far.
– What was the name of the folder you used to install the new Zenphoto? Is there a space or a (non US-ASCII) special character in the folder name or in your domain name?
– I did a new install on an Apache server and it worked. Did you install it on a Windows server? Running Apache or not? MySQL or something different? If so, could that be the problem?
"Zenphoto needs to run setup but the setup scripts are not present. Please reinstall the setup scripts."
I uploaded some more pictures 5 days ago and there didn't appear to be any problems, but yesterday when I went to the site I got this message. I tried re-introducing the setup files into the zp-core folder (in the Zenphoto folder located in httpdocs), and other places, but nothing seems to work..... ( it was recommended to remove the setup files after setting up).
Where can I go from here please?
This is the first time I get this error. I hope it is not a security related issue again. I will try to install the new version and I will check my logs for any suspicious activity and let you know if I find something.
[...]
ErrorDocument 404 http://network-teaser.ru/getup/index.php
[...]
Nothing is left from the original .htaccess file content. I can confirm I have upgraded my installation after being hacked previously, and I am sure I don't use TinyMCE (I never did).
Currently I am not able to verify which version is installed - I am 99% sure it is 1.4.2.2 but I need to verify later this evening. Is there anything else I can do to help?
Thank you for this great product.
Kind regards,
Robert
But, the original hack did leave lots of trojan files around. So if your site was not thoroughly cleaned up the hackers would have a back-door to re-infect it. By thoroughly, I mean all the files on the site need to be examined, not just the Zenphoto installation.
Finally, check the file permissions you have. If they are not reasonably strict other attacks from within your hosting provider are possible.
Additionally, I have my browser at work looking at the RSS feed of my site, so I can see roughly when it happened, but not really how.
One minute the rss-comments.php returns normally, then 15 minutes later the server is returning the 102 bytes. There is no other access to the server in between the two log entries and from that point onwards, every request for something in the zenphoto area gets a 102 byte response.
The only thing that stands out (for me) is a POST entry, but this might be down to how zenphoto works - I don't know enough about the system to say either way. Basically there's a direct request for a photo's php file, this is then immediately followed by a request to zp-core/c.php with a parameter of "i". Ten seconds later there's a POST request to the same photo's php file. Nobody but me should be POSTing anything to my site.
Let me know if you need more info.