Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

I have ready installed Ultimate SEO 2.6 and now i have problem:

 

Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /www/verox23/public_html/includes/classes/seo.class.php on line 626

 

Im trying find to google and im found suggestion for using 2.1 upgrade version. i doing the following step but the problem can't solved.

 

Add info:

my hosting is unix base

apache 2.xx

php5

mysql5

 

Some one help me please....

 

Thanks for Your advice and im sorry for my bad english...

 

regards,

 

pnyet

Posted

Uninstall it and install Ultimate SEO URLS v21d_UPDATED by FWR Media.

Posted
Uninstall it and install Ultimate SEO URLS v21d_UPDATED by FWR Media.

 

 

Thanks Bro for Your reply....

 

But i need to know whats wrong with SEO Ultimate 2.6?

 

Thx

Posted
Thanks Bro for Your reply....

 

But i need to know whats wrong with SEO Ultimate 2.6?

 

Thx

Well, if you must, look here.

Posted (edited)

As Coopco said uninstall 2.6 and install 2.1D by FWR Media.

 

Before you upload 2.1D to your web server, open the /catalog/includes/classes/seo.class.php file, search for this line:

 

# end if ( $cache['cache_expires'] > date("Y-m-d H:i:s") )

 

Then comment the next 4 lines like so:

 

//if ( $this->keep_in_memory || $local_memory ) {
//		if ($global) $this->data['GLOBAL'][$cache_name] = $container['GLOBAL'][$cache_name]; 
//		else $this->data[$cache_name] = $container[$cache_name]; 
//}

 

Those lines aren't needed and if you set the error level reporting high in PHP those 4 lines will come up with warnings in all of your pages if they aren't commented out/removed.

Edited by Sam G
Posted
Well, if you must, look here.

 

My problem is SOLVED, im so sory im forgoten to upload file some file.

 

first my case is im using seo.class.php is not provided v 2.6 and im forgotten to upload file preventDuplicates.php

 

after checkup and upload all package my site could work with fine..

now i have Ultimate SEO v2.6 on

PHP5

MySql5

 

work great.

 

 

Just wanna say thanks for everything...

 

 

regards,

 

pnyet

  • 3 weeks later...
Posted
As Coopco said uninstall 2.6 and install 2.1D by FWR Media.

 

Before you upload 2.1D to your web server, open the /catalog/includes/classes/seo.class.php file, search for this line:

 

# end if ( $cache['cache_expires'] > date("Y-m-d H:i:s") )

 

Then comment the next 4 lines like so:

 

//if ( $this->keep_in_memory || $local_memory ) {
//		if ($global) $this->data['GLOBAL'][$cache_name] = $container['GLOBAL'][$cache_name]; 
//		else $this->data[$cache_name] = $container[$cache_name]; 
//}

 

Those lines aren't needed and if you set the error level reporting high in PHP those 4 lines will come up with warnings in all of your pages if they aren't commented out/removed.

 

Does 2.1D work with osC RC2

 

Documentation says MS-2.2 and sterile osC (i.e., no other add-ons?)

Posted
Does 2.1D work with osC RC2

 

Documentation says MS-2.2 and sterile osC (i.e., no other add-ons?)

 

2.1d ORIGINAL updated does yes.

Posted
2.1d ORIGINAL updated does yes.

 

Yes, correct. I should have been more specific, including FWR Media.

 

Thanks for the confirmation.

Posted
Yes, correct. I should have been more specific, including FWR Media.

 

Thanks for the confirmation.

 

Well, I have gotten really proficient uninstalling Ultimate SEO v2.6!

Posted
Well, I have gotten really proficient uninstalling Ultimate SEO v2.6!

 

 

Well, just installed Ultimate_SEO_URLSv21d_UPDATED and home page comes up, click on cateogries and a SEO friendly appears for the category, but I get:

 

Not Found

The requested URL /public_html/index.php was not found on this server.

 

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Apache/1.3.41 Server at brightparrots.com Port 80

 

 

rendered in the page.

 

I did rename "directory" to "public_html", but I am guessing I did not do this part quite right.

 

Feedback?

Posted
Well, just installed Ultimate_SEO_URLSv21d_UPDATED and home page comes up, click on cateogries and a SEO friendly appears for the category, but I get:

 

Not Found

The requested URL /public_html/index.php was not found on this server.

 

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Apache/1.3.41 Server at brightparrots.com Port 80

 

 

rendered in the page.

 

I did rename "directory" to "public_html", but I am guessing I did not do this part quite right.

 

Feedback?

 

 

Per FWR Media:

 

Put rubbish in your .htaccess .. like ..

 

jkfgkleajfgjoireujgoivjsvdklwjdvkjkasjdvkjl'

 

If it doesn't kick errors then you need AllowOveride set to ALL (or to specifics).

 

 

 

----------------------------------------

 

Well, it kicked errors, so I guess AllowOveride is set correctly.

 

Gotta be the rename of the "directory".

Posted (edited)
Per FWR Media:

 

Put rubbish in your .htaccess .. like ..

 

jkfgkleajfgjoireujgoivjsvdklwjdvkjkasjdvkjl'

 

If it doesn't kick errors then you need AllowOveride set to ALL (or to specifics).

 

 

 

----------------------------------------

 

Well, it kicked errors, so I guess AllowOveride is set correctly.

 

Gotta be the rename of the "directory".

 

Please move this to the support topic

 

http://www.oscommerce.com/forums/index.php?showtopic=154166

 

With a description of the problem, and ideally a link

 

where your shop is located e.g. root = www.mysite.com/

 

How RewriteBase is set e.g. / or /catalog/ etc

Edited by FWR Media
  • 3 months later...
Posted

I have the same error, but not found the sollution, What do you change?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...