♥JcMagpie Posted June 15, 2019 Share Posted June 15, 2019 Example /article_info.php?articles_id=2 is availale from its link , but it's not beeing picked up by all articles or all topics. So they are missing the links to that article Quote Link to comment Share on other sites More sharing options...
♥Dnj1964 Posted June 15, 2019 Share Posted June 15, 2019 I am actually adding the articles manually through the admin article submission. 2 minutes ago, JcMagpie said: It looks as if the install is bad, I can only guess from the code I see but it looks to be missing the links in the db to the articles. I'm assuming when you add articles it saves in to db the actual artical and a id to find them all. It looks as if you have added articles by copying them over and not copied the links? Not sure just a guess. Quote Link to comment Share on other sites More sharing options...
♥Dnj1964 Posted June 15, 2019 Share Posted June 15, 2019 Correct. Should be being picked up by articles but there are no added topics yet so the topics seems to work correctly 1 minute ago, JcMagpie said: Example /article_info.php?articles_id=2 is availale from its link , but it's not beeing picked up by all articles or all topics. So they are missing the links to that article Quote Link to comment Share on other sites More sharing options...
♥JcMagpie Posted June 15, 2019 Share Posted June 15, 2019 Ok then it should save to all the tables. Manualy check in the bd is the links exist to the articles in All Articles 4 and All Topics Dnj1964 1 Quote Link to comment Share on other sites More sharing options...
♥JcMagpie Posted June 15, 2019 Share Posted June 15, 2019 sorry cross posting 😂, ok best left to Jack as he will know better. Dnj1964 1 Quote Link to comment Share on other sites More sharing options...
♥Dnj1964 Posted June 15, 2019 Share Posted June 15, 2019 the admin article add can save as article or blog article Quote Link to comment Share on other sites More sharing options...
♥JcMagpie Posted June 15, 2019 Share Posted June 15, 2019 Ok so the articles are output by article_info.php which is working fine. The All Articles 4 is articles.php which is listing nothing. Check to see what it is calling to collect the artical list ans see if it is populated in the db. That's about all I can offer as i haven used this add-on. Quote Link to comment Share on other sites More sharing options...
Fredi Posted June 16, 2019 Share Posted June 16, 2019 Hello Jack, There is one more error on the page: header_tags_fill_tags.php Warning: count(): Parameter must be an array or an object that implements Countable in /admin/header_tags_fill_tags.php on line 156Warning: count(): Parameter must be an array or an object that implements Countable in /admin/header_tags_fill_tags.php on line 256 Quote Support forum for osCommerce in russian language - from Ashkelon. Support since 2002.Best regards, Fredi Link to comment Share on other sites More sharing options...
♥Dnj1964 Posted June 16, 2019 Share Posted June 16, 2019 Simplest solution... Edit includes/languages/english/articles.php And remove "Blog" Not the proper fix, but works. 15 hours ago, Dnj1964 said: Only other issue is that Clicking through link "All Articles" Goes to articles.php but doesn't show a list of articles but shows Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted June 16, 2019 Share Posted June 16, 2019 13 hours ago, Fredi said: There is one more error on the page: header_tags_fill_tags.php Those errors are caused by code Header Tags SEO, not this addon. Please post any problems for it in its support thread. With that said, you can change the code to the following and it might fix it (haven't tested it): if ($fillTagsCtr['categories'] == 0 && is_array($fillTagsErrors) && count($fillTagsErrors['categories']) == 0) { if ($fillTagsCtr['manufacturers'] == 0 && is_array($fillTagsErrors) && count($fillTagsErrors['manufacturers']) == 0) { Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
LeeFoster Posted December 4, 2019 Share Posted December 4, 2019 @Jack_mcs Can articles only be submitted from the front end of the site or is there a way to do it from admin that I'm missing? Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted December 4, 2019 Share Posted December 4, 2019 2 hours ago, LeeFoster said: Can articles only be submitted from the front end of the site or is there a way to do it from admin that I'm missing? Both are possible. See the settings "Enable Article Review" and "Require Blog Post Approval". Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
LeeFoster Posted December 4, 2019 Share Posted December 4, 2019 47 minutes ago, Jack_mcs said: Both are possible. See the settings "Enable Article Review" and "Require Blog Post Approval". Not looking to approve in admin, wanting to actually write them in admin. Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted December 4, 2019 Share Posted December 4, 2019 I'm sorry. I guess I don't understand the question. If you want to add a new article, then you can submit it in admin via the Topics/Articles section. If that is not what you are asking, please describe it in more detail and I will try again.. Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
LeeFoster Posted December 4, 2019 Share Posted December 4, 2019 18 minutes ago, Jack_mcs said: I'm sorry. I guess I don't understand the question. If you want to add a new article, then you can submit it in admin via the Topics/Articles section. If that is not what you are asking, please describe it in more detail and I will try again.. What I'm wanting to do is rather than submit the article from the front end of the shop and then approve it in the admin, I want to submit it from the admin section and then approve it in the admin section. All the people that submit articles on my site will be members of my team/staff so will have access to the admin section of my site. Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted December 4, 2019 Share Posted December 4, 2019 So then you just need to go to admin->Article Manager->Topics/Articles and click the new article button in the topic you want it to appear. Have you tried this? Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
LeeFoster Posted December 4, 2019 Share Posted December 4, 2019 3 minutes ago, Jack_mcs said: So then you just need to go to admin->Article Manager->Topics/Articles and click the new article button in the topic you want it to appear. Have you tried this? I tried this and it gave me the option to add a new article but nowhere to actually write the article. Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted December 4, 2019 Share Posted December 4, 2019 The attached image shows what the page should look like (it's a partial image). If you are not seeing that, something is wrong with your installation or maybe it is a compatibility problem with php. Are you seeing any errors displayed or in the log? Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
LeeFoster Posted December 4, 2019 Share Posted December 4, 2019 10 minutes ago, Jack_mcs said: The attached image shows what the page should look like (it's a partial image). If you are not seeing that, something is wrong with your installation or maybe it is a compatibility problem with php. Are you seeing any errors displayed or in the log? Yeah, I'm only seeing as far as image on my install. Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted December 4, 2019 Share Posted December 4, 2019 Then the code is throwing an error for some reason. You can add this after the error_reporting line In admin/includes/application_top.php to see the error. It needs to have the option set to show errors. If none show up, you can see if there is an error_log file in admin. ini_set('display_errors','1'); Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
LeeFoster Posted December 4, 2019 Share Posted December 4, 2019 5 minutes ago, Jack_mcs said: Then the code is throwing an error for some reason. You can add this after the error_reporting line In admin/includes/application_top.php to see the error. It needs to have the option set to show errors. If none show up, you can see if there is an error_log file in admin. ini_set('display_errors','1'); I'm getting this in my apache logs. Use of undefined constant USE_CACHE Quote Link to comment Share on other sites More sharing options...
LeeFoster Posted December 4, 2019 Share Posted December 4, 2019 OK I made progress, the issue was being caused by a header_tags issue, that's been fixed and I can now see the boxes to create the article. My new issue is the random floating insert and cancel buttons. Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted December 4, 2019 Share Posted December 4, 2019 40 minutes ago, LeeFoster said: Use of undefined constant USE_CACHE Then you have a Phoenix shop. The cache code was removed from it. You can add define(;USE_CACHE', 'true'); at the bottom of application_top to get around it until a new version is released. 2 minutes ago, LeeFoster said: My new issue is the random floating insert and cancel buttons. I don't understand the issue. The buttons float on purpose. You can remove that part of the code if you like since there are other buttons at the bottom of the page. Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
LeeFoster Posted December 4, 2019 Share Posted December 4, 2019 1 minute ago, Jack_mcs said: Then you have a Phoenix shop. The cache code was removed from it. You can add define(;USE_CACHE', 'true'); at the bottom of application_top to get around it until a new version is released. Yes I do have a Phoenix shop, should have clarified that. 1 minute ago, Jack_mcs said: I don't understand the issue. The buttons float on purpose. You can remove that part of the code if you like since there are other buttons at the bottom of the page. As long as they're deliberate that's fine I'll just remove the code since as you said they're at the bottom too. Quote Link to comment Share on other sites More sharing options...
LeeFoster Posted December 4, 2019 Share Posted December 4, 2019 Ok made massive progress and have this mostly working as I want it in Phoenix. Only issue I'm seeing now is that when I click all articles in the Articles Box I get the below. What I'd like to see is something like this - But more importantly I'd just like it to show something. I've only created one article and no topics but I don't plan on using topics. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.