I'm trying to increase the capacity of our site from the ~20,000 sections limit which we are constantly on the edge of. To add new products, we need to remove old products and it is very time consuming, the old products were still selling too!
So here was my plan:
1. Backed up site using a snapshot and created new site
2. Imported snapshot and removed a top level section containing about 9,500 sub sections. Did this in both websites but on different sections.
3. This would give me twice the amount of sections than before by splitting the database into 2 websites and allowing 40,000 on the website.
4. Hardcoded the section list links so it appears as all sections are on a single site.
5. Uploaded to the same /acatalog/ directory 'albeit in test mode for now'.
I've hit a snag...
When I hit 'update' on site B, it does not upload all of the pages so I have to hit refresh to get them all up. All looks great so far.
I go to a product from site B and add it to my cart, no problem.
I go to a product from site A and add it to my cart, but it produces an error 'this product reference was recently removed from the catalogue' etc.
So the refresh needed to get the pages and data on the server overwrites some of the necessary files already there and won't allow full functionality. All perl files are identical so that is the problem, all files in the cgi-bin will be the same for each site too in fact.
I believe this is happening because the .cat files are being overwritten. Each site generates the filenames in the same sequence and generates the same filenames.
I can think of a way around this, but have no idea where to do it, have looked for a while too... If I can Change the sequence letter (from A0000.cat to B0000.cat) BEFORE actinic generates these files, I could then probably get around this issue and increase the site database to in theory and unlimited level.
Does anybody know how to amend the .cat file names?
Where in Actinic is the command that says use 'A00xxxx.cat' as the format when generating these files?
I have tried uploading site B to a different directory then downloading the .cat files onto my computer and changing the prefix on them all then uploading them to the /acatalog/ folder along wit the html pages but still no luck.
Can anyone give any constructive advice on the points above please?
So here was my plan:
1. Backed up site using a snapshot and created new site
2. Imported snapshot and removed a top level section containing about 9,500 sub sections. Did this in both websites but on different sections.
3. This would give me twice the amount of sections than before by splitting the database into 2 websites and allowing 40,000 on the website.
4. Hardcoded the section list links so it appears as all sections are on a single site.
5. Uploaded to the same /acatalog/ directory 'albeit in test mode for now'.
I've hit a snag...
When I hit 'update' on site B, it does not upload all of the pages so I have to hit refresh to get them all up. All looks great so far.
I go to a product from site B and add it to my cart, no problem.
I go to a product from site A and add it to my cart, but it produces an error 'this product reference was recently removed from the catalogue' etc.
So the refresh needed to get the pages and data on the server overwrites some of the necessary files already there and won't allow full functionality. All perl files are identical so that is the problem, all files in the cgi-bin will be the same for each site too in fact.
I believe this is happening because the .cat files are being overwritten. Each site generates the filenames in the same sequence and generates the same filenames.
I can think of a way around this, but have no idea where to do it, have looked for a while too... If I can Change the sequence letter (from A0000.cat to B0000.cat) BEFORE actinic generates these files, I could then probably get around this issue and increase the site database to in theory and unlimited level.
Does anybody know how to amend the .cat file names?
Where in Actinic is the command that says use 'A00xxxx.cat' as the format when generating these files?
I have tried uploading site B to a different directory then downloading the .cat files onto my computer and changing the prefix on them all then uploading them to the /acatalog/ folder along wit the html pages but still no luck.
Can anyone give any constructive advice on the points above please?
Comment