mjcloward
Advanced Member
USA
121 Posts Pre-sales questions only (More Details...)
|
Posted - 11/11/2018 : 06:08:20
I updated my theme and lost all the custom headers for my store. I thought I copied and put them back, but still getting an error No incfunctions.php file
So I am thinking of making my store non WordPress if this is an issue every time I update or any other suggestions on how to fix, and make this process easier?
https://www.321actionvideo.com/videogalleries.php
|
mjcloward
Advanced Member
USA
121 Posts Pre-sales questions only (More Details...)
|
Posted - 11/11/2018 : 06:22:24
I am going to try to create a child theme, and see if that helps, but if store is still not working, I may need to know what I am missing.
|
Andy
ECT Moderator
95440 Posts |
Posted - 11/11/2018 : 07:30:41
|
mjcloward
Advanced Member
USA
121 Posts Pre-sales questions only (More Details...)
|
Posted - 11/11/2018 : 08:16:24
so I added the code to the main theme header and site works fine. So some reason the page is not using the ect header
Here is what the page code looks like
<?php $GLOBALS['ectcartpage']='categories'; require('./wp-blog-header.php'); get_header('ect'); ?> <div id="primary"> <div id="content" class="clearfix"> <?php $explicitid=36; ?> <?php include "vsadmin/inc/inccategories.php"; ?> </div><!-- #content --> </div><!-- #primary --> <?php colormag_sidebar_select(); ?> <!--<?php get_sidebar('home'); ?>--> </div> </div> <?php get_footer(); ?>
|
Andy
ECT Moderator
95440 Posts |
Posted - 11/11/2018 : 08:23:16
|
mjcloward
Advanced Member
USA
121 Posts Pre-sales questions only (More Details...)
|
Posted - 11/11/2018 : 16:10:48
for whatever reason it is not using the ect header as I seem to think it should work. When I put the code in the normal theme header it does work, but the problem is everytime I update the theme, I loose the code in that header. So how do I make the file use the ect header? or I am trying to create a child theme, so I want it to access that header.
|
Andy
ECT Moderator
95440 Posts |
Posted - 11/12/2018 : 00:05:58
From the code you posted that is set up to use header-ect.php rather than header.php. Make sure header-ect.php has the 5 PHP ECT include lines at the top and the link to the css files. Andy Please feel free to review / rate our software
|
mjcloward
Advanced Member
USA
121 Posts Pre-sales questions only (More Details...)
|
Posted - 11/12/2018 : 20:22:17
ok, now it gets all the way to the checkout and then loses all items in the cart when you check out. When you are on the cart.php page, and click on the checkout button, and then it goes to a page "cart" with not .php at the end which it cant find on the website. I am hoping to be able to update my themes without every time having all these issues as I keep getting orders lost, as some are actually emailing me saying they cant order, but I am sure others are just not. So I need help fixing this issue ASAP, and making this update proof, so each time I update WordPress theme, I don't lose all this fixing. If someone is an expert in this, please contact me as I have done all I can to make this work.
|
Andy
ECT Moderator
95440 Posts |
Posted - 11/12/2018 : 23:58:55
|
mjcloward
Advanced Member
USA
121 Posts Pre-sales questions only (More Details...)
|
Posted - 11/13/2018 : 04:39:50
ok, I sent it
|
Andy
ECT Moderator
95440 Posts |
Posted - 11/13/2018 : 06:38:46
|
Andy
ECT Moderator
95440 Posts |
Posted - 11/13/2018 : 07:30:07
I would remove the Super-cache plugin you are using. It's not a great idea for ecommerce sites to use aggressive caching. For example I just did a header check on your cart.php page here http://tools.seobook.com/server-header-checker/ and the screenshot shows the cart as populated with a product which really shouldn't happen. Andy Please feel free to review / rate our software
|
mjcloward
Advanced Member
USA
121 Posts Pre-sales questions only (More Details...)
|
Posted - 11/13/2018 : 14:54:39
I have disabled and removed the cache for the wordpress and the checkout is still not working. When you add items to the cart, and then click on checkout, the shopping cart takes you to http://321actionvideo.com/cart which is not a page on the website, so it gets and error. It should be going to http://321actionvideo.com/cart.php
|
Andy
ECT Moderator
95440 Posts |
Posted - 11/14/2018 : 01:35:42
I uploaded a new version of inccart.php and that has solved the problem. I don't know if your old one was modified at all but I left it on the server but renamed to inccart.phpxxx. At least your customers can check out now. You have a real mix of files files folders and duplicates on the server which could do with some attention and clearing up. Andy Please feel free to review / rate our software
|
mjcloward
Advanced Member
USA
121 Posts Pre-sales questions only (More Details...)
|
Posted - 11/25/2018 : 09:14:59
ok, now I noticed I haven't got an order email since this. Is it possible I have another corrupt file that may be causing this as well? I am getting emails from paypal to let me know there is an order, but Me or customers are not getting them at all.
|
mjcloward
Advanced Member
USA
121 Posts Pre-sales questions only (More Details...)
|
Posted - 11/25/2018 : 09:23:55
I did notice that my incfuntions.php file was updated about the same time, and I didnt update it. So its possible I may have another corrupt file. I emailed it to you, or if possible can you send me a new one to try?
|
Andy
ECT Moderator
95440 Posts |
Posted - 11/25/2018 : 10:33:43
|
mjcloward
Advanced Member
USA
121 Posts Pre-sales questions only (More Details...)
|
Posted - 11/26/2018 : 10:29:28
I did that, and now the email works, but nobody can order anything. Get this error on prodetail page.
Unknown column 'optClass' in 'field list' Fatal error: Uncaught Error: Call to a member function fetch_assoc() on boolean in /home/actionvideo/public_html/vsadmin/inc/incfunctions.php:1737 Stack trace: #0 /home/actionvideo/public_html/vsadmin/inc/incfunctions.php(1029): ect_fetch_assoc(false) #1 /home/actionvideo/public_html/vsadmin/inc/incproddetail.php(1038): displayproductoptions('<span class="de...', '</span>', 0, 0, true, false, '') #2 /home/actionvideo/public_html/proddetail.php(13): include('/home/actionvid...') #3 {main} thrown in /home/actionvideo/public_html/vsadmin/inc/incfunctions.php on line 1737
|
insight
ECT Moderator
USA
4479 Posts |
Posted - 11/26/2018 : 10:34:23
|
mjcloward
Advanced Member
USA
121 Posts Pre-sales questions only (More Details...)
|
Posted - 11/29/2018 : 16:20:36
I am still having issues with my online store. You can now get to a prodetail page, and then when you click add to cart, nothing happens.
|
mjcloward
Advanced Member
USA
121 Posts Pre-sales questions only (More Details...)
|
Posted - 11/29/2018 : 16:38:00
ok, for some reason <script type="text/javascript" src="/js/ectcart.js"></script> was missing from my header.
I am not sure how things are getting edited on its own, but its real frustrating when I works one day and not the next. Is there anything you can suggest to stop this from happening?
|
|