Zen Cart Logo
Forums / All Other Contributions/Addons / Ceon URI Mapping (SEO)

Ceon URI Mapping (SEO)

Locked

Views: 472,294

Results 861 to 880 of 2,913
This thread is locked. New replies are disabled.
5 Dec 2009, 1:42 AM
#861
icecold avatar

icecold

Zen Follower

Join Date:
Jul 2008
Posts:
360
Plugin Contributions:
0

Ceon URI Mapping (SEO)

I have a new problem ...
The module was working fine ... but a few days ago, the script used to automate my site products, stop working?

The two scripts are added to the exclusions in config:

Excluded Files
List of Files to be Excluded:

This is a comma-separated list of paths to files which will not be processed by Ceon URI Mapping.

As standard, the following paths to files are excluded for this store:

/electronics/ipn_main_handler.php, /electronics/nochex_apc_handler.php, /electronics/localities_remote_loader.php, /electronics/iridium_3d_secure_iframe.php, /electronics/protx_direct_3d_secure_iframe.php, /electronics/realex_remote_3d_secure_iframe.php, /electronics/sage_pay_direct_3d_secure_iframe.php.

Add any other files to be excluded by entering their full [web-side] paths below. The paths will be treated as case-insensitive.

/electronics/xmlPopulate_zencart.php, /electronics/xmlPopulate_zencart_db.php


Here is a snippet from xmlPopulate_zencart.php

session_unregister('navigation');
require('includes/application_top.php');

// ******** Added by Hambir only for Zencart version of xmlPopulate
// include the database functions
require('xmlPopulate_zencart_db.php');

// make a connection to the database... now
  tep_db_connect() or die('Unable to connect to database server!');

The problem is it's working randomly ... sometimes I get this:

'Xml request data needed to process this file'

when I execute the file, which is fine because it means the script is responding ... but only a few times ... in many tries ...
most of the time I just get the storefront!:shocking:

I read al CEON URI docs and it says to exclude this file, if it's a 'foreign module' but how about this case? It starts with the app top require but if I remove it from the exceptions it simply doesn't work and if I add it like above works randomly ...

5 Dec 2009, 1:13 PM
#862
conor avatar

conor

Passed

Join Date:
Aug 2004
Location:
Belfast, Northern Ireland
Posts:
2,480
Plugin Contributions:
4

Re: Ceon URI Mapping (SEO)

Hi,

icecold:

when I execute the file, which is fine because it means the script is responding ... but only a few times ... in many tries ...
most of the time I just get the storefront!:shocking:

I read al CEON URI docs and it says to exclude this file, if it's a 'foreign module' but how about this case? It starts with the app top require but if I remove it from the exceptions it simply doesn't work and if I add it like above works randomly ...

There's no such thing as software working randomly... that's one of the main points about computing.. regular results for the same input!

I don't think that this module is causing your problem. Sorry but I'm afraid you'll have to look elsewhere for an answer!

I wish you good luck in finding a solution to your problem!

All the best...

Conor
ceon

6 Dec 2009, 4:01 PM
#863
icecold avatar

icecold

Zen Follower

Join Date:
Jul 2008
Posts:
360
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

conor:

Hi,

There's no such thing as software working randomly... that's one of the main points about computing.. regular results for the same input!

I don't think that this module is causing your problem. Sorry but I'm afraid you'll have to look elsewhere for an answer!

I wish you good luck in finding a solution to your problem!

All the best...

Conor
ceon

ok, you say I have to look not elsewhere but if I remove the line in.htacess where all index.php?, gets rewrited to something meaningful the script starts to load products normally!

Of course the module doesn't work anymore! because I get a page not found error.

I know things don't work randomly, but in this case I tried the script immediately after deleting an rewriting the exceptions and it returned a positive result! Then it stop completely.

I can't ignore that, and the fact it works if I remove the .htaccess rules so my conclusion and that of my host is the problem is lying in the module ...

6 Dec 2009, 4:34 PM
#864
conor avatar

conor

Passed

Join Date:
Aug 2004
Location:
Belfast, Northern Ireland
Posts:
2,480
Plugin Contributions:
4

Re: Ceon URI Mapping (SEO)

Hi,

I appreciate that activating or disabling the .htaccess file is affecting the behaviour of your who's online software. My point about randomness is that it should always affect it or not at all.. otherwise it is possibly not the root cause but enabling something else which is indeed causing the problem. As that functionality works here I'm afraid I have no ideas about what is causing the problem on your site. You'll have to debug the script or get someone to do that for you.

I wish you luck in finding the problem and a solution!

All the best...

Conor
ceon

6 Dec 2009, 8:05 PM
#865
icecold avatar

icecold

Zen Follower

Join Date:
Jul 2008
Posts:
360
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

conor:

Hi,

I appreciate that activating or disabling the .htaccess file is affecting the behaviour of your who's online software. My point about randomness is that it should always affect it or not at all.. otherwise it is possibly not the root cause but enabling something else which is indeed causing the problem. As that functionality works here I'm afraid I have no ideas about what is causing the problem on your site. You'll have to debug the script or get someone to do that for you.

I wish you luck in finding the problem and a solution!

All the best...

Conor
ceon

At this point I had to completely disable the module, but I haven't give up yet, I sent the module to the script devs to have more people looking into a possible solution, I was wondering if you can take a look at their script xmlPopulate_zencart.php.

I was also wondering if you can tell me if adding an exception directly to the rules for the script will help ...

6 Dec 2009, 8:16 PM
#866
conor avatar

conor

Passed

Join Date:
Aug 2004
Location:
Belfast, Northern Ireland
Posts:
2,480
Plugin Contributions:
4

Re: Ceon URI Mapping (SEO)

Hi,

icecold:

At this point I had to completely disable the module, but I haven't give up yet, I sent the module to the script devs to have more people looking into a possible solution, I was wondering if you can take a look at their script xmlPopulate_zencart.php.

Sorry but I don't support third party software here unless I've plenty of free time and right now time is short! :(

icecold:

I was also wondering if you can tell me if adding an exception directly to the rules for the script will help ...

I honestly don't know what is causing your problem so I don't know.

All the best...

Conor
ceon

6 Dec 2009, 8:46 PM
#867
icecold avatar

icecold

Zen Follower

Join Date:
Jul 2008
Posts:
360
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

conor:

Hi,

I appreciate that activating or disabling the .htaccess file is affecting the behaviour of your who's online software. My point about randomness is that it should always affect it or not at all.. otherwise it is possibly not the root cause but enabling something else which is indeed causing the problem. As that functionality works here I'm afraid I have no ideas about what is causing the problem on your site. You'll have to debug the script or get someone to do that for you.

I wish you luck in finding the problem and a solution!

All the best...

Conor
ceon

At this point I had to completely disable the module, but I haven't give up yet, I sent the module to the script devs to have more people looking into a possible solution, I was wondering if you can take a look at their script xmlPopulate_zencart.php.

I was also wondering if you can tell me if adding an exception directly to the rules for the script will help ...

6 Dec 2009, 9:03 PM
#868
conor avatar

conor

Passed

Join Date:
Aug 2004
Location:
Belfast, Northern Ireland
Posts:
2,480
Plugin Contributions:
4

Re: Ceon URI Mapping (SEO)

Hi,

Why are you posting the same thing again?

Conor

6 Dec 2009, 9:08 PM
#869
icecold avatar

icecold

Zen Follower

Join Date:
Jul 2008
Posts:
360
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

conor:

Hi,

Why are you posting the same thing again?

Conor

Sorry that I probably hit submit twice!

I am so desperate with this happening at this time probably did that ...

I read your post ...

6 Dec 2009, 9:29 PM
#870
conor avatar

conor

Passed

Join Date:
Aug 2004
Location:
Belfast, Northern Ireland
Posts:
2,480
Plugin Contributions:
4

Re: Ceon URI Mapping (SEO)

Hi,

icecold:

I read your post ...

For some reason in my reply I referred to the who's online issue someone had previously been talking about, think I confused myself (there's that lack of time making me rush and make mistakes! :| ).

I don't know the XML Populate module (and can't see anything like it in the downloads area) but I think it could possibly be that this module builds a datafile and places it in a directory on your website. The htaccess file is probably interfering with access to that directory.

So you should add exclusions for the data directories this module may be using to the rewrite rule.. then it won't block their access. E.g if the data directory was called xml_data:

Don't rewrite XMLPopulate data directories

RewriteCond %{REQUEST_URI} !/xml_data.* [NC]

I'd guess the "randomness" aspect of this is that not all operations by the module in question require access to the blocked directories.

Hope that helps, although it's all conjecture!

All the best...

Conor
ceon

8 Dec 2009, 8:14 PM
#871
neboztik avatar

neboztik

New Zenner

Join Date:
Jan 2009
Location:
Czech Republic
Posts:
59
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

How edit this mod to generate nice URL for ask a question mod?

8 Dec 2009, 10:24 PM
#872
conor avatar

conor

Passed

Join Date:
Aug 2004
Location:
Belfast, Northern Ireland
Posts:
2,480
Plugin Contributions:
4

Re: Ceon URI Mapping (SEO)

Hi,

neboztik:

How edit this mod to generate nice URL for ask a question mod?

Read the section of the manual "Specifying the current URI Mapping for any other Zen Cart page".. I guess that mod probably uses a value for main_page of:

ask_a_question

Enter your chosen URI and then the other values for the record in the database table should be the same as in the docs.

Hope that helps...

All the best..

Conor
ceon

10 Dec 2009, 9:48 AM
#873
spid3r1987 avatar

spid3r1987

Zen Follower

Join Date:
Jul 2009
Posts:
497
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

HELPPP

i have installed this on 2 sites..
on the first site, it seems to be working ok
on my second site....
its not created the tables in the database properly...

when i go into phpmyadmin
under ceon_uri_mapping_config
it has

id 	version 	autogen_new 	whitespace_replacement 	capitalisation 	remove_words 	char_str_replacements 	excluded_files
	Edit 	Delete 	1 	3.2.4 	1 	0 	0 	-, a, an, this, that 	£=>GBP, $=>USD 	

but on my version that works...its got lots of different tables....

10 Dec 2009, 10:04 AM
#874
spid3r1987 avatar

spid3r1987

Zen Follower

Join Date:
Jul 2009
Posts:
497
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

actually, never mind. iv found the problem
ME!!!
i didn't click structure, i was on browse...

but still have the problem of

Fatal error: Call to undefined function ceon_uri_mapping_build_product_uri_fields() in <hostingroot>/public_html/<admin>/includes/modules/product/collect_info.php on line 560
10 Dec 2009, 10:04 AM
#875
conor avatar

conor

Passed

Join Date:
Aug 2004
Location:
Belfast, Northern Ireland
Posts:
2,480
Plugin Contributions:
4

Re: Ceon URI Mapping (SEO)

Hi,

spid3r1987:

on my second site....
its not created the tables in the database properly...

Delete the database tables on the second site and go back to the configuration utility to have it recreate them.

All the best..

Conor
ceon

10 Dec 2009, 10:07 AM
#876
conor avatar

conor

Passed

Join Date:
Aug 2004
Location:
Belfast, Northern Ireland
Posts:
2,480
Plugin Contributions:
4

Re: Ceon URI Mapping (SEO)

Hi,

spid3r1987:

but still have the problem of
[code]Fatal error: Call to undefined function

That means you haven't uploaded the functions file.

Upload all the files again just to be sure.

All the best..

Conor
ceon

10 Dec 2009, 10:15 AM
#877
spid3r1987 avatar

spid3r1987

Zen Follower

Join Date:
Jul 2009
Posts:
497
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

just done that, still got same problem :S

<?php // BEGIN CEON URI MAPPING 2 of 2
          echo ceon_uri_mapping_build_product_uri_fields($prev_uri_mappings, $uri_mappings,
            $uri_mapping_autogen);
// END CEON URI MAPPING 2 of 2 ?>

this is what its looking to, does it look correct to you??

also....they are on different hosts, but this shouldn't matter should it?

10 Dec 2009, 10:28 AM
#878
conor avatar

conor

Passed

Join Date:
Aug 2004
Location:
Belfast, Northern Ireland
Posts:
2,480
Plugin Contributions:
4

Re: Ceon URI Mapping (SEO)

Hi,

spid3r1987:

just done that, still got same problem :S

Nope, you've definitely not done it right.. that's the only way that error can occur.

You've probably uploaded the wrong file or uploaded it to the wrong place.

Send me some FTP and admin details via this link and I'll pop in and do it right for you.

All the best...

Conor
ceon

10 Dec 2009, 10:28 AM
#879
spid3r1987 avatar

spid3r1987

Zen Follower

Join Date:
Jul 2009
Posts:
497
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

o no

re-uploaded all files, got a total "admin side" crash now lol

Warning: require_once(/myadminfolderincludes/classes/class.String.php) [function.require-once]: failed to open stream: No such file or directory in adminfolder/includes/functions/extra_functions/ceon_uri_mapping.php on line 21

Fatal error: require_once() [function.require]: Failed opening required '/adminfolderincludes/classes/class.String.php' (include_path='.:/usr/share/pear:/usr/share/php') in adminfolder/includes/functions/extra_functions/ceon_uri_mapping.php on line 21
10 Dec 2009, 12:59 PM
#880
spid3r1987 avatar

spid3r1987

Zen Follower

Join Date:
Jul 2009
Posts:
497
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

spid3r1987:

o no

re-uploaded all files, got a total "admin side" crash now lol

Warning: require_once(/myadminfolderincludes/classes/class.String.php) [function.require-once]: failed to open stream: No such file or directory in adminfolder/includes/functions/extra_functions/ceon_uri_mapping.php on line 21

Fatal error: require_once() [function.require]: Failed opening required '/adminfolderincludes/classes/class.String.php' (include_path='.:/usr/share/pear:/usr/share/php') in adminfolder/includes/functions/extra_functions/ceon_uri_mapping.php on line 21

whats weird is, if i delete <admin>/inc/func/extra_func/ceon_uri_mapping.php

my admin side will load and everything works....
not sure uri mapping will yet...

its line 21 in this file thats causing my crash....any help is greatly appreciated