We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

LG Better Meta 1.7.x - Now with sitemap meta and generator! - Official Support Thread

Development and Programming

Paradise's avatar
Paradise
84 posts
16 years ago
Paradise's avatar Paradise

Ok, also this

if i click LG Better Meta in the Plugin Manager:

Unable to load the following plugin: lg_better_meta_php.php

Please Leevi…

I can’t work. You posted the last time before 3 hours, so why we get no answer here 🐛

       
Matt Weinberg's avatar
Matt Weinberg
489 posts
16 years ago
Matt Weinberg's avatar Matt Weinberg

It’s possible Leevi’s subscription to this thread isn’t working…have you considered contacting him through his website: http://leevigraham.com/

Edit: Or private messaging him?

       
Leevi Graham's avatar
Leevi Graham
1,143 posts
16 years ago
Leevi Graham's avatar Leevi Graham
Leevi, Any ideas why I’m getting this on subsequent sites through MSM (first site seems to not be getting it, second site does)?
Notice: Undefined index: 1 in C:\XAMPP\htdocs\ee\system\plugins\pi.lg_better_meta_pi.php on line 264

Notice: Undefined index: 1 in C:\XAMPP\htdocs\ee\system\plugins\pi.lg_better_meta_pi.php on line 269

Notice: Undefined index: 1 in C:\XAMPP\htdocs\ee\system\plugins\pi.lg_better_meta_pi.php on line 274
Thanks mate, Danny

Hey Mr Dimsum,

Have you saved the extension settings in the second site? Each site has it’s own extension settings. Can you also check that the exp_lg_better_meta table contains the following columns:

priority change_frequency include_in_sitemap

If it does not please run the following snippet of SQL:

ALTER TABLE exp_lg_better_meta
ADD `priority` VARCHAR( 5 ) NOT NULL ,
ADD `change_frequency` VARCHAR( 50 ) NOT NULL ,
ADD `include_in_sitemap` VARCHAR( 1 ) NOT NULL

Cheers Leevi

       
Leevi Graham's avatar
Leevi Graham
1,143 posts
16 years ago
Leevi Graham's avatar Leevi Graham
Not getting any love from this extension so far. Now when I publish from the EE CP I get this:
Error Number: 1054

Description: Unknown column 'change_frequency' in 'field list'

Query: INSERT INTO `exp_lg_better_meta` (`entry_id`, `url_title`, `weblog_id`, `title`, `description`, `keywords`, `rights`, `publisher`, `author`, `index`, `follow`, `archive`, `change_frequency`, `priority`, `include_in_sitemap`) VALUES ('16', 'ooooo', '4', '', '', '', '', '', '', '', '', '', '', '', '')

Hey Simply EE… please read this post.

http://ellislab.com/forums/viewreply/490820/

       
Leevi Graham's avatar
Leevi Graham
1,143 posts
16 years ago
Leevi Graham's avatar Leevi Graham
Hello Levi, We just recently bought your better meta extension (LG Better Meta (v.1.7.0)). Installing it is no problem, but after putting the following tag {exp:lg_better_meta_pi:template} in the head, we are getting following error:
Warning: mktime() [function.mktime]: Windows does not support negative values for this function in ...\core\core.localize.php on line 128

Warning: gmdate() [function.gmdate]: Windows does not support dates prior to midnight (00:00:00), January 1, 1970 in ...\core\core.localize.php on line 76

Warning: gmdate() [function.gmdate]: Windows does not support dates prior to midnight (00:00:00), January 1, 1970 in ...\core\core.localize.php on line 77

Warning: gmdate() [function.gmdate]: Windows does not support dates prior to midnight (00:00:00), January 1, 1970 in ...\core\core.localize.php on line 78

Warning: gmdate() [function.gmdate]: Windows does not support dates prior to midnight (00:00:00), January 1, 1970 in ...\core\core.localize.php on line 79

Warning: gmdate() [function.gmdate]: Windows does not support dates prior to midnight (00:00:00), January 1, 1970 in ...\core\core.localize.php on line 80

Warning: gmdate() [function.gmdate]: Windows does not support dates prior to midnight (00:00:00), January 1, 1970 in ...\core\core.localize.php on line 81
We are using the latest ee-build as of now (ExpressionEngine 1.6.5 - Build: 20081028) Any idea’s of what went wrong? Or where to start looking? thx in advance. m.

Hey m.

In the plugin file around line 272 look for:

if(isset($entry_params['priority']) === FALSE)
{
  $entry_params['priority'] = $settings['sitemap_defaults'][$query->row['weblog_id']]['priority'];
}

Immediately after those lines add:

if($entry_params['date_modified'] != "")
{
  $entry_params['date_modified'] = $LOC->timestamp_to_gmt($entry_params['date_modified']);
}

That should fix your issue for now. I have also added the code into the next release. Thanks for reporting the bug.

       
Leevi Graham's avatar
Leevi Graham
1,143 posts
16 years ago
Leevi Graham's avatar Leevi Graham
Our problem is solved. We updated our php version to version 5. m.

Ah good ol php5! I recommend you make the previously suggested changes to your plugin anyway :D

       
Leevi Graham's avatar
Leevi Graham
1,143 posts
16 years ago
Leevi Graham's avatar Leevi Graham
It’s possible Leevi’s subscription to this thread isn’t working…have you considered contacting him through his website: http://leevigraham.com/ Edit: Or private messaging him?

Good call slapshotw.

For some reason I was not getting the emails. It’ should be all good now. Sorry for any delays.

Cheers Leevi

       
Leevi Graham's avatar
Leevi Graham
1,143 posts
16 years ago
Leevi Graham's avatar Leevi Graham
HI, just installed Solospace Tags. As i installed it in the Modules tab i hat this error
Notice: unserialize() [function.unserialize]: Error at offset 401 of 2432 bytes in /webroot/vhosts/xyz.de/docs/dumdede/extensions/ext.lg_better_meta.php on line 805

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /webroot/vhosts/xyz.de/docs/dumdede/extensions/ext.lg_better_meta.php:805) in /webroot/vhosts/xyz.de/docs/dumdede/extensions/ext.lg_htaccess_generator_ext.php on line 672
Same error when i go to the Tags settings in Modules tab. EDIT: Now i have this when saving an entry
Notice: unserialize() [function.unserialize]: Error at offset 401 of 2432 bytes in /webroot/vhosts/xyz.de/docs/dumdede/extensions/ext.lg_better_meta.php on line 805

Warning: Cannot modify header information - headers already sent by (output started at /webroot/vhosts/xyz.de/docs/dumdede/extensions/ext.lg_better_meta.php:805) in /webroot/vhosts/xyz.de/docs/dumdede/core/core.functions.php on line 296

Hey Paradise-Bodies,

Can you de-activate all your extensions / modules and install them one by one o see which one is causing your issues?

Which version of PHP are you running as well?

Cheers Leevi

       
Paradise's avatar
Paradise
84 posts
16 years ago
Paradise's avatar Paradise

Ok, its PHP 5.2.0

and if i enable:

Tag Submit (v.2.5.1) Adds a Tag tab in the EE Publish/Edit panels.

in the extensions manager i get the error.

       
Leevi Graham's avatar
Leevi Graham
1,143 posts
16 years ago
Leevi Graham's avatar Leevi Graham
Ok, its PHP 5.2.0 and if i enable: Tag Submit (v.2.5.1) Adds a Tag tab in the EE Publish/Edit panels. in the extensions manager i get the error.

Your problem is due to a settings error or corrupted settings which is a bit strange.

If you’re running multiple sites make sure you save the settings for each site. That brings me to another question… if you are running multiple sites how many sites are you running?

Also you could try copying your existing settings to a temp text file and deactivating / reactivating the extension.

       
Paradise's avatar
Paradise
84 posts
16 years ago
Paradise's avatar Paradise

multiple sites?

In EE or on the server?

Also you could try copying your existing settings to a temp text file and deactivating / reactivating the extension.

The Better Meta extension?

       
Leevi Graham's avatar
Leevi Graham
1,143 posts
16 years ago
Leevi Graham's avatar Leevi Graham

Multiple sites as in using EE’s multiple site manager.

The Better Meta extension?

Yup :D

       
Paradise's avatar
Paradise
84 posts
16 years ago
Paradise's avatar Paradise

Ok,

deactivated uploaded the files again und reactivated.

Editing entries works. I changed nothing in BM und get

Warning: Invalid argument supplied for foreach() in /webroot/vhosts/xyz.de/docs/dumdede/extensions/ext.lg_better_meta.php on line 759

Warning: Cannot modify header information - headers already sent by (output started at /webroot/vhosts/xyz.de/docs/dumdede/extensions/ext.lg_better_meta.php:759) in /webroot/vhosts/xyz.de/docs/dumdede/core/core.functions.php on line 296

if i hit submit.

Also if i deactivate Solospace Tag extension.

       
Ryan M.'s avatar
Ryan M.
1,511 posts
16 years ago
Ryan M.'s avatar Ryan M.

I have quotes in some of my titles, and LG Better Meta seems to be doing this:

<title>“Title” -  My Site</title>

That’s supposed to read like a quoted word:

<title>"Title" -  My Site</title>

I seem to recall there was a fix for that in a previous version - correct?

Using 1.7.0, and EE 1.6.6.

Thanks!

       
Les McKeown's avatar
Les McKeown
133 posts
16 years ago
Les McKeown's avatar Les McKeown

Hey Leevi -

Great extension - enjoying using it very much.

Just looking for confirmation of some testing - the extension will parse global template variables as content for items such as keywords (I store these as a global template variable), but does not (as far as I can see) parse path.php variables.

[I’m able to enter {keywords} in the Site keywords box, and it is parsed - a global template variable - but {site-tite} - which is a path.php variable, is not parsed.]

Is that right? Not a biggie, just want to check.

Thanks again.

       
First 3 4 5 6 7 Last

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.