How to fix 'Regex not matched' in seo panel version 3.3.1

Discuss about Seo Panel Bugs and Issues

Moderators: hellow0rld, eugene, sendtogeo

How to fix 'Regex not matched' in seo panel version 3.3.1

Postby seopanel_forum » Fri Dec 07, 2012 9:08 pm

You can fix 'Regex not matched' issue in seo panel version 3.3.1 by following steps

Execute following sql query in your seo panel database using PHPmyadmin or any mysql client.

Code: Select all
UPDATE `searchengines` SET `regex` = '<li.*?class="?g.*?<a.*?href="(.*?)".*?>(.*?)<\\/a>.*?<\\/div><span.*?>(.*?)<\\/span>' WHERE `url` LIKE '%google%';


This will fix the issues. Some google search result format is different compared to normal search results, it is the root cause for this issue.
Thanks,
Seo Panel Team
http://www.seopanel.in
seopanel_forum
Site Admin
 
Posts: 1349
Joined: Sat Apr 17, 2010 6:42 pm
Location: India

Re: How to fix 'Regex not matched' in seo panel version 3.3.

Postby seonoob » Tue Dec 11, 2012 8:35 pm

Is there any way to save the raw output to disk. I would like to see the data before the regex is performed on it.

Thanks
seonoob
 
Posts: 17
Joined: Tue Nov 16, 2010 3:37 pm

Re: How to fix 'Regex not matched' in seo panel version 3.3.

Postby seopanel_forum » Thu Dec 13, 2012 8:34 pm

Currently no method to see lik it. e need to customize seo panel to get that feature.
Thanks,
Seo Panel Team
http://www.seopanel.in
seopanel_forum
Site Admin
 
Posts: 1349
Joined: Sat Apr 17, 2010 6:42 pm
Location: India

Re: How to fix 'Regex not matched' in seo panel version 3.3.

Postby wis » Mon Dec 24, 2012 12:48 pm

Hy.

I have problem with 3.3.1. I update db with your instructions, but same error:

Here is my searchengines db:
Code: Select all
CREATE TABLE IF NOT EXISTS `searchengines` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `domain` varchar(120) COLLATE utf8_unicode_ci DEFAULT NULL,
  `url` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `cookie_send` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `no_of_results_page` int(8) DEFAULT NULL,
  `start` int(11) NOT NULL DEFAULT '0',
  `start_offset` int(8) NOT NULL DEFAULT '0',
  `max_results` int(11) NOT NULL DEFAULT '100',
  `regex` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `from_pattern` varchar(64) COLLATE utf8_unicode_ci DEFAULT NULL,
  `to_pattern` varchar(64) COLLATE utf8_unicode_ci DEFAULT NULL,
  `url_index` int(11) NOT NULL DEFAULT '1',
  `title_index` int(11) NOT NULL DEFAULT '2',
  `description_index` int(11) NOT NULL DEFAULT '3',
  `encoding` varchar(32) COLLATE utf8_unicode_ci DEFAULT NULL,
  `status` tinyint(1) DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=4 ;

--
-- Volcar la base de datos para la tabla `searchengines`
--

INSERT INTO `searchengines` (`id`, `domain`, `url`, `cookie_send`, `no_of_results_page`, `start`, `start_offset`, `max_results`, `regex`, `from_pattern`, `to_pattern`, `url_index`, `title_index`, `description_index`, `encoding`, `status`) VALUES
(1, 'www.google.com', 'http://www.google.com/search?hl=[--lang--]&num=[--num--]&q=[--keyword--]&start=[--start--]&cr=country[--country--]&as_qdr=all', '', 100, 0, 100, 100, '[b]<li.*?class="?g.*?<a.*?href="(.*?)".*?>(.*?)<\\/a>.*?<\\/div><span.*?>(.*?)<\\/span>[/b]', '<div id="?ires"?>', '<\\/ol>', 1, 2, 3, NULL, 1),
(2, 'www.yahoo.com', 'http://search.yahoo.com/search?p=[--keyword--]&n=[--num--]&b=[--start--]&vl=lang_[--lang--]&fl=1&v=1&vc=[--country--]', '', 100, 1, 100, 100, '<li.*?<h3><a.*?\\*\\*(.*?)".*?>(.*?)<\\/a><\\/h3>.*?<div.*?>(.*?)<\\/div>.*?<\\/span>', NULL, NULL, 1, 2, 3, NULL, 1),
(3, 'www.bing.com', 'http://www.bing.com/search?q=[--keyword--]&scope=web&first=[--start--]&setmkt=[--lang--]-[--country--]', 'SRCHHPGUSR=NEWWND=0&NRSLT=50&SRCHLANG=[--lang--]', 50, 1, 50, 100, '<li.*?<h3><a.*?href="(.*?)".*?>(.*?)<\\/a><\\/h3>.*?<p.*?>(.*?)<\\/p>', NULL, NULL, 1, 2, 3, NULL, 1),
(4, 'www.google.es', 'http://www.google.es/search?hl=es&num=[--num--]&q=[--keyword--]&start=[--start--]&cr=country[--country--]&as_qdr=all', '', 100, 0, 100, 100, [b]'<li.*?class="?g.*?<a.*?href="(.*?)".*?>(.*?)<\\/a>.*?<\\/div><span.*?>(.*?)<\\/span>[/b]', '<div id="?ires"?>', '<\\/ol>', 1, 2, 3, NULL, 1),
(5, 'www.yahoo.es', 'http://es.search.yahoo.com/search?p=[--keyword--]&n=[--num--]&b=[--start--]&vl=lang_[--lang--]&fl=1&v=1&vc=[--country--]', '', 100, 1, 100, 100, '<li.*?<h3><a.*?\\*\\*(.*?)".*?>(.*?)<\\/a><\\/h3>.*?<div.*?>(.*?)<\\/div>.*?<\\/span>', NULL, NULL, 1, 2, 3, NULL, 1),
(6, 'www.bing.es', 'http://www.bing.com/search?q=[--keyword--]&scope=web&first=[--start--]&setmkt=[--lang--]-es', 'SRCHHPGUSR=NEWWND=0&NRSLT=50&SRCHLANG=[--lang--]', 50, 1, 50, 100, '<li.*?<h3><a.*?href="(.*?)".*?>(.*?)<\\/a><\\/h3>.*?<p.*?>(.*?)<\\/p>', NULL, NULL, 1, 2, 3, NULL, 1);

And here is my search results:
Image

Image

But if i no select languaje and country en keyword administration tool, it doesn't show error, but dont work:
Image

Image
And if copy and paste url fron seopanel into browser, this is result:
Image

Fresh install seopanel 3.3.1

Thanks in advance.
wis
 
Posts: 3
Joined: Mon Aug 01, 2011 4:42 pm

Re: How to fix 'Regex not matched' in seo panel version 3.3.

Postby wis » Mon Dec 24, 2012 2:02 pm

Google search not works:

Image
wis
 
Posts: 3
Joined: Mon Aug 01, 2011 4:42 pm

Re: How to fix 'Regex not matched' in seo panel version 3.3.

Postby seopanel_forum » Fri Jan 04, 2013 6:55 pm

please contact us through following link

http://www.seopanel.in/contact/

with admin login details to check your seo panel.
Thanks,
Seo Panel Team
http://www.seopanel.in
seopanel_forum
Site Admin
 
Posts: 1349
Joined: Sat Apr 17, 2010 6:42 pm
Location: India

Re: How to fix 'Regex not matched' in seo panel version 3.3.

Postby wis » Sat Jan 05, 2013 12:25 pm

seopanel_forum wrote:please contact us through following link

http://www.seopanel.in/contact/

with admin login details to check your seo panel.


I send you contact form with all data neccesary.

Thx.

PD: Sorry for my poor english...
wis
 
Posts: 3
Joined: Mon Aug 01, 2011 4:42 pm

Re: How to fix 'Regex not matched' in seo panel version 3.3.

Postby seopanel_forum » Sat Jan 05, 2013 6:02 pm

Thanks :)

your English is goood :)
Thanks,
Seo Panel Team
http://www.seopanel.in
seopanel_forum
Site Admin
 
Posts: 1349
Joined: Sat Apr 17, 2010 6:42 pm
Location: India

Re: How to fix 'Regex not matched' in seo panel version 3.3.

Postby KennethTaylor » Wed Apr 24, 2013 1:50 pm

How can I backup and restore my data before performing regex querry on it?
KennethTaylor
 
Posts: 48
Joined: Sat Mar 30, 2013 1:19 pm


Return to Seo Panel Bugs and Issues

Who is online

Users browsing this forum: No registered users and 1 guest