Jump to content
RobAnderson

Article Manager v1.0

Recommended Posts

1 hour ago, Fredi said:

Do you have news regarding this module?

It was ready for release but I found a few problems at the last minute. By the time I got those fixed another version of Phoenix had been released. So I just need to setup a new show and install it to make sure everything is OK. I hope to get a version uploaded in the next few weeks.

Share this post


Link to post
Share on other sites

If you need help with temting, I am ready to help.


Support forum for osCommerce in russian language - from Ashkelon. Support since 2002.

Best regards,

Fredi

Share this post


Link to post
Share on other sites

Dear Jack,

I partially adapted Article Manager for the latest version of Phoenix. I am not a coder. This is a tough job for such a serious addon. But I managed to do a lot. These are big code corrections. The reason is the concept of our coders to destroy the possibility of using serious add-ons for Phoenix.
But basically, there are no problems that cannot be solved. And I slowly but solve them.
I have a test site on Phoenix 1.0.7.7. The article manager works on it (partially). In Admin everything is already working almost completely.

I hope you, as a professional coder, can devote your time to this add-on. If you need what I have already done, I will send it for you. This will save you time to update the Article Manager.


Support forum for osCommerce in russian language - from Ashkelon. Support since 2002.

Best regards,

Fredi

Share this post


Link to post
Share on other sites

A new version has been uploaded with the following changes.

  • Added a navbar modules to display links to articles. Pro version only.
  • Added a product module to display links to articles based on the cross sell settings. Pro version only.
  • Changed a large number of files to make them compatible with Phoenix 1.0.7.5 and above.
  • Changed article count in admin to show full details (status and blog count).
  • Changed class construction in the articles manager footer module to be compatible with php 7. Found by @artfulweb.
  • Changed code in admin so that the Header Tags SEO code works for multiple language. Found by @artfulweb.
  • Fixed failure on shop side when Header Tags SEO is not installed. Found by Dnj1964.
  • Removed the config page from the Article Manager section for Phoenix versions.
  • Removed the article meta tag description from the database and files.
  • Removed the caching code.

Notes:

  1. This is meant as a Phoenix version. The previous versions will still work but have not been updated.
  2. For Phoenix, installation just requires the database script to be ran and then the files to be uploaded. If you want the links to appear elsewhere in the site, see the instructions in the files for doing that.

 

Share this post


Link to post
Share on other sites

im get error while open articles.php in admin section 

"Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 36 bytes) in C:\xampp\htdocs\tes\admin\includes\functions\articles.php on line 70"

what should i do Jack ?

Share this post


Link to post
Share on other sites

That error occurs when the account on the server doesn't have enough memory to handle the call. Without knowing which oscommerce versions you are using, I can only guess. But two of the versions have to do with getting topics around that location in the code so I assume that is the problem. Is this a new installation? If not, did you run the database script with the reset option?

Share this post


Link to post
Share on other sites
11 hours ago, Jack_mcs said:

That error occurs when the account on the server doesn't have enough memory to handle the call.

Yes , i think ... but im doing test on AM3 8Gb memory without adding products , pure ... even i dont have single article ..fresh install and i wanna add some addons ...

yes this is new installation jack , osCommerce Online Merchant v2.3.4.1 and im using MySQL 5.5.25a      PHP version :  5.4.4 (Zend: 2.4.0)  HTTP Server Apache/2.4.2 (Win32) OpenSSL/1.0.1c PHP/5.4.4 

 

Edited by JIPANG
add text

Share this post


Link to post
Share on other sites
2 minutes ago, JIPANG said:

AM3 8Gb memor

That's server memory, not necessarily  shop memory. But if this is a new install of this addon and you don't have any, or many topics, then it is not the memory itself. Something is probably looping that is causing the memory to be used and, if that is the case, it would fail regardless of how much memory there is.

I suggest you get the shop working correctly first, like adding a product. If the problem is a result of this addons code, it is probably being caused by some problem in the shop.

Share this post


Link to post
Share on other sites

Error code...
Line 137 in    article_manager_db_handler.php

      $lines[] = "INSERT INTO configuration (" . $fields       . ") VALUES ('Display Box Articles - All Topics Links?', 'ARTICLE_BOX_DISPLAY_TOPICS_LINKS', 'true', 'Display links to individual topics. Requires the Display Box Articles - All Topics Section option to be true. ', '" . $cfg_group_id . "', '" . ($sortID++). "', 'tep_cfg_select_option(array(\'true\', ', now(), NULL)";

Chnge to:

      $lines[] = "INSERT INTO configuration (" . $fields       . ") VALUES ('Display Box Articles - All Topics Links?', 'ARTICLE_BOX_DISPLAY_TOPICS_LINKS', 'true', 'Display links to individual topics. Requires the Display Box Articles - All Topics Section option to be true. ', '" . $cfg_group_id . "', '" . ($sortID++). "', 'tep_cfg_select_option(array(\'true\', \'false\'), ', now(), NULL)";

 


Support forum for osCommerce in russian language - from Ashkelon. Support since 2002.

Best regards,

Fredi

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×