require('includes/application_top.php'); this file loads the paths needed for configure.php
For testing uncomment the echo commands.
Then call the script www.xxxxxx/adminxxx/store_status.php
...
Type: Posts; User: skipwater
require('includes/application_top.php'); this file loads the paths needed for configure.php
For testing uncomment the echo commands.
Then call the script www.xxxxxx/adminxxx/store_status.php
...
In the admin side of contest when you click the button pick a winner you get the these options.
Only include validated entries: Yes/No
Only include eligible entries: Yes/No
If you select No...
Contest was setup to have a question or no question.
You should set the "Display a qualifying question to enter contest" to false in your admin.
This way there is no wrong answer.
Skip
Thanks for checking it with 7zip.
What it sounds like is that the script is over running the memory setting of php.
If you can control php settings in your .htaccess file try these settings.
...
RixStix
Have you tried 7zip on the website backup file?
Skip
Question:
Have you downloaded the zip file to your local system and then ran 7zip or something similar?
Or are you using cpanel unzip/restore on the web server?
Skip
Because the script is using the server time it would be to much to change the code.
Some hosts allow you to change the server time zone GMT +- #, you might want to check.
Skip
No you do not need to change the file name formats. It is just a option.
You will find a text file root/YOURADMIN/includes/classes/mysql_db_backup.class_readme.txt that will help explain.
Skip
Your site has grown beyond the size php is set for.
You can increase php setting in your php.ini or if your server is setup to use htaccess file you can add these lines to the file.
Try these...
Check that backup_zc.php file is located in YOUR_ADMIN\includes\functions\extra_functions\ before you login to your zc admin. This is the file that will install backup_zc into zc.
Skip
I wish all explanations or a error where stated so well. Thank You
Here is what should fix your error.
Open and edit YOUR_ADMIN/includes/extra_datafiles/backup_zc.php
You will see:
...
Check in zen cart admin if Configuration->GZip Compression is set to off '0'. If it is not off set it to off.
On some servers this interferes with zc backups zip compression.
If that is not it...
Yes Backup ZC 1.5.x will work
Due to some ZC systems that are very heavy in large images/large data bases I have seen that php can not do a complete backup in one pass. That is why there are the options to do sections of what to...
What is happening is that you are requesting more resources then php can give you.
Not all hosts will allow php settings in your htaccess file but if yours allows it add this code to it.
...
Sounds like a bad upload try re-uploading the file and see if that fixes it.
Skip
Also you will find that the SQL file that ZC BackUp creates has less CR/LF or End of Line code. (To save space)
Skip
When you hover over the Backup ZenCart link in the lower left of your browser the url should display something like this.
yourwebsite.com/youradmin/backup_zc.php
Skip
What OS are you running?
PHP version?
SKip
Yes BackUp ZC - Version: v1.1
Skip
It should be fixed now.
You can PM me a link.
I used the attached php grep utility to search for iso-8859-1. Also you will find some in the DB.
Note: Do not leave the php_grep utility on your web server, remove when...
Did some testing downloaded Convert db2utf8 converted the DB. Added define('CHARSET', 'utf-8'); to english.php/italian.php.
Then changed all hard coded "iso-8859-1"
Ran BackUp ZC and did not get a...
Thanks for the language files I will add them to the next version.
I am going to do some testing with the DB and get back to you.
Skip
I just down loaded Italian Language Pack (complete) http://www.zen-cart.com/downloads.php?do=file&id=161 and install it.
Of course there is no language file for ZC BackUp so all the upper case...
The type of the files have no bearing on how ZC Backup stores the files.
In your admin Configuration->GZip Compression check that it is set to 0 = off.
Skip
Your error [12-Mar-2013 11:27:04] PHP Warning: implode() [<a href='function.implode'>function.implode</a>]: Invalid arguments passed in /-myadmin-/backup_zc_download.php on line 230 comes from the...
ZC Backup creates a sql file so any utility that can import a sql file into your DB will work.
Skip
The error you are getting is due to the limited drive space you have.
When you request a DB backup BackUp ZC stores a copy of the DB in YOURADMIN/backups. You should check that folder and delete...
edit your_admin/backup_zconfig.php
If the files are out side of zen cart installation you need to use the real path to the folder.
ie:...
You should find it here:
/includes/languages/english/html_includes/YOUR_TEMPLATE/define_contestwinner.php
What version of ZC are you running?
In the drop down tools->define pages editor you...
John
Thanks for the heads up.
I have looked and did some testing and can not at this time see how this could be done from the contest mod.
The mod only displays the product information based on...
Thank You for the kind words.
Skip
Try this test.
edit your_admin/backup_zconfig.php
find starting on line 51
$exclude_files = array("".DIR_FS_CATALOG."cache",
"".DIR_FS_CATALOG."extras",
...
Google is your friend search on "enter our contest zen-cart" and you will find some live contests running.
Skip
Sorry about not getting back here sooner. The one thing that you also might check is the permissions for your-admin/backup folder and your cache folder. Are the two sites the same?
Skip
In your ZC admin go to tools->Server/Version Info on both sites and see what is the difference from the one working and the one that is not.
It looks like the memory might be the issue. I like 128mb...
Not seeing the site tree it sounds like you are missing folders/files in the admin section ZC. Double check that the admin section has all the folders and files.
Skip
A sql file is the data that was exported from a sql database. So you need to use a SQL utility or MySQL to import the data into a database.
phpMyAdmin is one of these MySQL utilities.
Skip
No there is only a one prize option.
Skip
Thanks that is what I needed to know.
If the customer authorization status is set to Banned and they have Newsletter: set to Subscribed will they get emails that are sent from ZC?
Skip
That is why there is the 'Display a qualifying question to enter contest ' option. Bots will not answer the question correctly and when they enter the contest they will be marked as invalidated.
...
su35
You would need to edit the class file youradmin/includes/classes/mysql_db_backup.class.php
Backup ZC is not setup to backup files it is based on folders. At this time there are no...
If you look in the file snapshot_cron.php you will see that it is set NOT to run within 15 minutes of a run. So even if you have the cron run every 10 minutes snap shot will NOT run on the first call...
I would say its is telling you that you do not have shell access.
most cpanel and some other cron commands would look like this
php...
The file you are looking for is /includes/templates/YOUR_TEMPLATE/sideboxes/tpl_contest_sidebox.php.
You will need to look at one of your other tpl_ files in the same folder and see how they are...
You should not have to do anything to make your contest side box look just like the rest of your site.
The only custom buttons are in the admin section so only you would see them.
The button...
You have listed folders in your config file backup_zconfig.php that are not on your server.
You need to edit your_admin_folder/backup_zconfig.php file.
Fine this section of code and edit it to...
Who is the owner of the snapshot folder? 99, nobody
Sounds like you do not have the user rights to delete snapshot folder.
Skip