Zen Cart Logo
Forums / General Questions / Warning: preg_match

Warning: preg_match

Locked

Views: 1,619

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
1 Sep 2007, 12:43 AM
#1
pyewhacket avatar

pyewhacket

New Zenner

Join Date:
Aug 2005
Posts:
14
Plugin Contributions:
0

Warning: preg_match

Hi hope someone might be able to help me here i was doing my featured items for the month, and went to my website to view, and when i clicked on the item i get this on my website. This to my knowledge is only on the one item. So i deleted the item and redid it to the same avail.
Regards
Vicki

Here is the link to view the error
http://www.pyewhacket.com/index.php?main_page=product_info&products_id=848

Warning: preg_match() [function.preg-match]: Compilation failed: missing terminating ] for character class at offset 17 in /home/pye35565/public_html/includes/modules/pages/product_info/main_template_vars_images_additional.php on line 52

1 Sep 2007, 12:47 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Warning: preg_match

What version of Zen Cart are you using?
Was this an upgrade? from what version?
What addons/contributions are installed?
What is unique to this product vs other products?
When did this start happening?
What else has changed on the site or server recently, esp around the time this started happening?

1 Sep 2007, 1:07 AM
#3
pyewhacket avatar

pyewhacket

New Zenner

Join Date:
Aug 2005
Posts:
14
Plugin Contributions:
0

Re: Warning: preg_match

Hi
I just changed the name of the image and it seems ok ?

http://www.pyewhacket.com/index.php?main_page=product_info&products_id=848

Zen Cart 1.2.6
No ive not done any upgrades. I am not sure about doing this.
No addons or contributions as i am aware.
Nothing unique compared to other items.
Not sure when it started, i was adding featured itms on the first of month like usual.

Regards
Vicki

1 Sep 2007, 1:08 AM
#4
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,616
Plugin Contributions:
0

Re: Warning: preg_match

What was the old image called?

1 Sep 2007, 1:22 AM
#5
pyewhacket avatar

pyewhacket

New Zenner

Join Date:
Aug 2005
Posts:
14
Plugin Contributions:
0

Re: Warning: preg_match

Hi it was
w c yin yan comp]

and renamed to
w c yin yan

Regards
Vicki

1 Sep 2007, 1:46 AM
#6
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Warning: preg_match

Just because Windows lets you use spaces in filenames doesn't mean that it is a good thing to do. Other software may interpret a space as the end of a name, or otherwise mess up.

Much better to use - or _ when you need to separate words in a filename, and no other characters ever (beside ".").

1 Sep 2007, 1:51 AM
#7
pyewhacket avatar

pyewhacket

New Zenner

Join Date:
Aug 2005
Posts:
14
Plugin Contributions:
0

Re: Warning: preg_match

Hi I very rarely use characters in my file names I am asuming this was an honest type o :)
Thanks for your advice however :)
Regards
Vicki