Forums / Setting Up Categories, Products, Attributes / insert new product problem

insert new product problem

Results 1 to 5 of 5
11 Apr 2016, 21:37
#1
shellyfan avatar

shellyfan

New Zenner

Join Date:
Apr 2016
Posts:
2
Plugin Contributions:
0

insert new product problem

Hi, everyone

I am new to Zen cart.
After I set up categories and clicked New Products, filled all information about the product, then clicked Preview. It looked fine, so I clicked Insert, but a warning message shown:

Warning: An error occurred, please refresh the page and try again.

I refreshed many times and re-inserted products, still had the same warning message.

My system is Windows XP and zencart version is v1.5.4

Anyone can help me out where I made mistakes? Thank you very much!
11 Apr 2016, 22:14
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Posts:
31,500
Plugin Contributions:
4

Re: insert new product problem

My system is Windows XP and zencart version is v1.5.4

Do you have a hosting account or are you running this on your win xp box?
If you have a hosting account - what is needed is the operating system that it uses.
Can be seen admin > tools > server/version info
12 Apr 2016, 00:28
#3
shellyfan avatar

shellyfan

New Zenner

Join Date:
Apr 2016
Posts:
2
Plugin Contributions:
0

Re: insert new product problem

kobra:

Do you have a hosting account or are you running this on your win xp box?
If you have a hosting account - what is needed is the operating system that it uses.
Can be seen admin > tools > server/version info



Yes, I have a hosting account.

here is the information

Server Host: box728.bluehost.com
Server OS: Linux 3.12.52-20160119.106.ELK6.x86_64
12 Apr 2016, 07:11
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Posts:
31,500
Plugin Contributions:
4

Re: insert new product problem

Did you download and install ZenCart or did you use a host provided installer??

Either way - get a fresh distribution of 1.5.4 and extract it locally

Try uploading using FTP, all the admin files and see if that corrects anything
15 Apr 2016, 10:34
#5
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,907
Plugin Contributions:
1

Re: insert new product problem

shellyfan:

Hi, everyone

I am new to Zen cart.
After I set up categories and clicked New Products, filled all information about the product, then clicked Preview. It looked fine, so I clicked Insert, but a warning message shown:

Warning: An error occurred, please refresh the page and try again.

I refreshed many times and re-inserted products, still had the same warning message.

My system is Windows XP and zencart version is v1.5.4

Anyone can help me out where I made mistakes? Thank you very much!


Hey, welcome to ZC. So a few things that help you and in turn help others to help you.

When posting that there is an issue, knowing the current condition of the software like what all has been installed (plugins), self modifications made, as kobra asked the origin of the cart software and other environment factors help to identify the most likely cause of the issue.

In this situation, having the warning that there was a problem generates a little log file with information that can help determine the source of the problem. Thing is that because the error occurs on the admin side, the debug (myDebug-adminxxxx) file will include your admin folder name. So, you are welcome to post your log file, but it is advisable to change that admin directory name in the post to either just admin or x'd out so that you do not notify the internet about where to possibly go and try to get into your admin directories...

So that said, the myDebug log(s) in ZC 1.5.1 and above can be found in the logs directory or the location defined in your includes/configure.php for the constant DIR_FS_LOGS. It is advised to always target the most recent log file as that problem is definitely still an issue. Older log files may have been corrected by other things and it may just be a waste of time to chase a ghost.

Anyways, if you are still having this issue, after going through all the "training" needed to setup a local version of the site (always suggested to have such a development site) and still pulling your hair out on this, then suggest posting the contents of the latest error log (generated by trying to repeat the problem) and perhaps a solution can be offered. :)