Show Posts

Messages - tastiger

Pages: 1 [2] 3
General Support / Re: Cache file and folder permissions and 777
« on: December 16, 2015, 03:15:53 PM »
Thank you Abolabo,
The host is being really supportive so I will ask this question.
I do no apc is not running as I checked for that.

In the meantime we have change the expire to seven days as an experiment to see if it is to do with delete and and as a way of seeing clearer what activity is causing problems over time.
So far it has dramatically alleviated frequency of errors and enabled the finding of a 'stuck' language file that was not deleting.


General Support / Re: Cache file and folder permissions and 777
« on: December 15, 2015, 06:26:25 PM »
Hi Alonso,

I thing we all have to weigh up what different features and benefits are on offer to us from the different carts and match to our own situations. I had a Facebook store tied to my last cart for near 2 year and not one order from it, but plenty of click throughs from the Facebook 'Shop Now' button direct to the website. I guess for me I prefer them on the website because I wish to expose the shopper to advocacy information as well. I actually tried Shopify, reguly doing tials over time to see what the hype was all about, but the path to doing what I wanted in a store was not my cup of tea.

With hosts, I tried a fee, and many self hosted carts before deciding on AbanteCart, and I found there is always some tweaking involved even if things loosely work out of the box. So while some host may be better than others being 100% perfect still may involve some adjustment to get things just right. I am still working on that!

I guess some of the above is why I am persisting with my issue. Somebody said to me yesterday that having one main issue is not bad!! lol

And I think I am making headway :-)

I am thinking this cache write error is actually a symptom of something else - and that may well be a host issue but I am not sure yet.

I think it is actually a failure to delete problem!

When a cache file is to be updated, meaning a write is to occur,  it looks like the original cache file is to be deleted first. If that fails, maybe a server load issue, file in use so it is not closed allowing delete, some other permission problem than write, then the write does not occur and  the system sees this as unable to write.

This need to be able to delete is why we need folders set 777 - to give delete permission as I understand it.

AbanteCart is actually attempting these deletions every 24 hours on every cache file thereby refreshing the files. This is why when I was setting files to 777  they mysteriously return to 644 - when the delete -> re-write file process happens correctly.

Code: [Select]
* @var int
private $expire = 86400; //one day

So this makes for complex circumstances of when a delete will be attempted with this code:

Code: [Select]
                * @param string $file
                * @return null
                * @void
                private function _remove($file){
                                                return null;
                                //double check that the cache file to be removed
                                if (file_exists($file)){
                                                $err_text = sprintf('Error: Cannot delete cache file: %s! Check file or directory permissions.', $file);
                                                $error = new AError($err_text);
                                return null;

So it is a matter of whether permissions are wrong on file creation or authority is wrongly available on deletion. It tests if the file is actually deleted so maybe some sort of timing issue or something interferes sometimes and that is why this problem seems so random or intermittent - and hard to solve.

Would think there would be a process of retry delete before issuing the error in case of timing and lock events but I cannot find that and I am certainly not experienced enough to know if the solution is in the code! lol But I have had the host check extensively for problems and nothing is showing in any Apache or other logs showing write failure.

I am also utilising multi store so I assume separate cache files are used to reflect a different subset of static data for each shop. Maybe something gets abit untoward in this area though and locks files preventing the delete?

Maybe an AbanteCart Guru can take my thoughts and expand on this

General Support / Re: Cache file and folder permissions and 777
« on: December 14, 2015, 02:52:24 AM »
Hi Alonzo,

1) Yes i think if you started over with 1.2.5 then the order numbers begin again and this cause the Paypal problem as paypal has already recorded payments against these numbers. I migrated from Bigcommerce so I had to set my order number higher than my last Bigcommerce invoice number for Paypal to work

2) Changing in the database is the only way I know reading the forums. You see the post by Basara that this will get easier in 1.2.6 :-)

My cache issue comes and goes makeing trying to figure out what is going on difficult. Sometimes every order will cause it, sometime there are no error.
Clearing the cache seems to make errors more frequent.

As somebody that has come from a paid platform I would like to suggest sticking with the challenge a little longer! I am finding in my short time that I have learned so much that I otherwise would not have about e-commerce and slowly but surely working towards a system that works the way I want it to for my particular products. Here is a lot more control than paid sytems and I think I have only scratched the surface of what AbanteCart can do - and AbanteCart is still developing :-) But I do agree the time and frustration when an issue is hard to solve. I did have  plenty of headaches on the paid system also! - and less control. lol

- Mark.

General Support / Re: Cache file and folder permissions and 777
« on: December 11, 2015, 06:10:14 PM »
Hi Stronso,

No I don't have this resolved, but yes there is a tie to orders.

I also have had customer contact but now attempted order have dropped of all together since I went live with the AbantCart store two weeks ago so it is getting harder to diagnose with the errors more intermittent.

With the duplicate invoice ID problem, I found that was to do with AbabnteCart order numbers being the same as invoice numbers already used in Paypal with my old cart - you need to go into database and manually set the order number higher.

Go to table _orders you should see your customers duplicated orders there, set the order number of the last order much higher, then it will auto increment from there.

After I did this I manually set any new 644 cache file to 777 and  my co-operative customer was able to place an order.

General Support / Cache file and folder permissions and 777
« on: December 09, 2015, 09:28:02 PM »

I am regularly getting errors about incorrect cache files permissions with my AbanteCart 1.2.5 shared hosting cpanel on litespeed. PHP version 5.5.

I have scoured these boards reading everything I can on the topic but it is often ambiguous between posts the correct file and folder permissions for various folders for AbanteCart.

Currently I set Cache folder to 777, all subfolder of cache 777, then I set all current files in cache folders to 777

The error comes back as soon as there is activity with the store and I find new files with 644 permission.

I have gone in circles clearing cache, redoing permissions to 777, repeatedly setting new files to 777, re-searching and re-reading forum.

I have taken it up with the host and although they have spent time there has been no resolution.

A question I have is why is 777 needed (as against 775 for example) and do files actually need to be 777 or just folders.

I am at a loss to figure this error out, please what can I try?


Support / Re: Products visible but not accessible
« on: December 04, 2015, 03:49:32 PM »
Hi theodan,

0444 is the correct permission to set your config and index at.

I would maybe suggest try using the default .htaccess for AbanteCart and then saying particular attention to setting RewriteBase line in that file appropriately to the folder you have installed AbanteCart in. Note the trailing / when setting a folder.

Also make sure your urls are set correctly in admin-system-settings-general. Note that DNS issues with the domains listed here can cause peculiar issues with the site in my limited experience so far ;-)

Just as an idea, ability for a persistent cart in the right column for desktop resolutions might give the best of both worlds?

I saw a small persistent cart used above other things in the right column on a competitor's website this morning and it was actually very easy to use.

Support / Re: Select a different store button missing
« on: October 26, 2015, 06:17:43 PM »
The store url is the same as the address bar domain but from this clue  I do suspect this is where the problem lies abolabo.

Because I have a live store running on my true domain and this in a new host in preparation for moving to AbanteCart The default store is on a second level domain and the second store had to go on a third level domain.
Abantecart was installed in its own folder.
I have found that by cloning AbanteCart to root I am able to use a true subdomain for the second server. This means the switching button has returned to Default store and I can switch to second store but not back!
So I am thinking that when I can remove the second level domain and go live all will be in order, hopefully.

I would have liked to solve things with the install in the subfolder now, but probably can't while these second and third level domains are needed to make things work at all, that is, my actual domain is not transferred to the new host.

table stores:

1[/t]POS at Tassie VapesPOS1[/color]

Support / Re: Select a different store button missing
« on: October 23, 2015, 05:27:37 AM »
It is in the default store admin that the switcher is not showing.

In fact it is only from this problem that I have learned that I can use the domain of the second store to log into the admin of the second store! Prior to this I was just switching in the admin of the default store.

So, the switcher does not show in either default or second store

Support / Select a different store button missing
« on: October 22, 2015, 10:15:19 PM »
I have been developing a default store and a second store using multi store functionality in AbanteCart.
The second store works fine but I went to change a setting in admin and found that the button to select between stores is now missing?
I can no longer swap the settings pages between the two stores, I can see all the settings of both store in system, settings, all settings.
I can log into the second store admin directly but I am mystified why the button has disappeared?

I created a fresh installation using Softaculous then removed all sample data. I then created a second store and immediately the button disappeared.
I created a second fresh installation using Softaculous in another directory, created another store, and this time the button stayed and I can swap between the stores!

What might be controlling this behaviour with the select a different store button? And how might I restore functionality on my main installation?

This is AbanteCart 1.2.4

Tips and Tricks / Re: How to get my store center
« on: October 07, 2015, 10:26:06 PM »
Hi itgeeks,

I am new to this but a quick look inspecting some elements (on here Firebug is often mentioned here on the forum for finding where to change the look of your store but I am using what is built into Chrome right click on area of page) I would be looking at editing style.css line 5.
Here you can control margins of various parts you may want to bring more to center. You can test the values in Firebug or Chrome to see the changes you like before applying the actual edits.
I hope this is what you are looking for.

Feedback on My Store / Re: Give me your feedback of royalcards =]
« on: October 05, 2015, 11:37:55 PM »
I like the background too :-)

I also see some parts out of alignment like some CSS needs adjustment. Example, for me the orange around your search box only extends left as far as specials. There is a problem with the white "caps above brands and your main content, where banner is. I am using Chrome on desktop 1920px wide.

Built-in Features / Re: Empty Category as Menu
« on: October 04, 2015, 10:51:42 PM »
OK, I have figured out the simple thing, I got confused between my category and menu  :-[ which means I cannot do what I was intending originally but with LINk TO working I can take another approach!

Feedback on My Store / Re: Open to feedback
« on: October 04, 2015, 08:33:43 PM »
Thanks Helperbee  :)

A simple blog would be a nice extension to have if it was available for AbanteCart Cart, I saw elsewhere on this forum that maybe using a second store in AbanteCart Cart it can be achieved so there may be future possibilities.

Thanks for your time and tips on how to integrate CMS and AbanteCart Cart, some things are definitely not apparent to me! - I am a beginner to self hosting e-commerce finding my way. First I tried and researched many carts in a fair detail and chose AbanteCart Cart.

Now I think to learn as much as I can, and for sure your word of caution is correct! It is always nice to see a few consistent answers on Google.

As I have a live site running on a hosted system (Bigcommerce) I have had some time to set up experimental sites in the process of choosing a cart software.

The test site for AbanteCart Cart is: b a n t e/ (remove spaces - I am still a newbie and cannot post links)

There is a quasi POS as a second site being developed using multi-site:

it is all definitely at the I am a beginner stage!

One thing I have done is modified an extension to make a Pay in Store extension is anyone is interested in using this.

Built-in Features / Re: Empty Category as Menu
« on: October 04, 2015, 07:53:30 PM »
Thanks Helperbee  :)

Indeed it wasn't obvious to me that the link needed to be selected then he blue link button on the left of it clicked would insert the actual correct link - so that part is solved. Much easier than finding the actual path to a page or category when using SEO.

However in practice on shopfront the the link is not sticking, it is still using the original path to the empty category.
I have tried clearing system and browser cache several times to no avail.
I see in theory what should be happening here but fear I am missing something simple again....

Being new to AbanteCart Cart I am hoping to push on and contain everything within AbanteCart Cart to see how it works out before committing to separate content as for most things so far I very much like AbanteCart Cart. It would be the way to a consistent looking site but you may be right about focus Helperbee

Pages: 1 [2] 3

Powered by SMFPacks Social Login Mod