eCommerce store for Sense Online

The Challenge

Sense Textile is an Israeli company that imports uniform apparel for schools, businesses, and other organizations. With over 20 years of experience, the company is an industry leader within the Israeli market and has points-of-sale in almost every city across the country.

A few years ago, they reached out to us for help creating their first-ever online store. Their goal was to increase their outreach, establish market dominancy, and make it easier for their customers to customize their products. 

Sectors: 
E-Commerce

[Solved] D7 will not work with PHP above 7.1

Hello,

I've been running a D7 site for a very long time and when PHP moved above 7.1, I had to manually add the code below in .htaccess to force it to stay on 7.1, otherwise I would get a non-responsive site (WSOD). Now my host is retiring 7.1 and I haven't been able to get it to work on 7.3 or 7.4

Intranet needs updates and to be moved to new server seeking assistance

I have a local intranet for my company running. When the site was first created a intern did the setup and installation. Over the years I edited pages with changes but never ran updates. Currently the site is on Drupal Core 7.18. I have a bunch of modules that will need to be updated. I need to move the Intranet from the current Windows server that is outdated to a newer server. I am seeking help on best practices. Should I update the current site then backup and migrate? The other issue is I have never done these things before. Seeking my best course of action. Thanks in advance.

PHP-code for custom token

I'm searching for a time now and done 100+ tests with what I found on the internet but I can't get it to work.

What I want is very simple: a custom token to tell me how many users have a certain role.

The SQL code that gives me the correct answer is:

SELECT COUNT(users_roles.rid) AS Count_rid
FROM drup495.drgm_users users
     INNER JOIN drup495.drgm_users_roles users_roles
        ON (users.uid = users_roles.uid)
WHERE users_roles.rid = 4

(drup495 = databasename and drgm = prefix)

Copy drupal 7 to subdomain, problem with htaccess

Hi

I want to duplicate my Drupal 7 site on the same server, the duplicated site is abc.domain.uk, a copy of domain.uk / www.domain.uk.

The original site htaccess has this:

RewriteCond %{HTTPS} off [OR]
RewriteCond %{HTTP_HOST} ^www\.domain\.uk*
RewriteRule ^(.*)$ https://domain.uk/$1 [L,R=301]

For the subdomain, I have copied the htaccess file over from original site, and changed the relevant lines to

RewriteCond %{HTTPS} off [OR]
RewriteCond %{HTTP_HOST} ^abc\.domain\.uk*
RewriteRule ^(.*)$ https://abc.domain.uk/$1 [L,R=301]

When I load http://abc.domain.uk, it redirects to https://abc.domain.uk, but does not load any of the css. Looking further, what is obvious is that all the "import url" is http, rather than https. Also, all other links to css (in html.tpl.php?) remains http.

Drupal 7 installation error

Hi, can anyone help me to solve the following error to continue with the drupal 7 installation.

  • Deprecated function: ini_set(): Use of mbstring.http_input is deprecated in include_once() (line 271 of C:\xampp\htdocs\drupal\sites\default\settings.php).
  • Deprecated function: ini_set(): Use of mbstring.http_output is deprecated in include_once() (line 272 of C:\xampp\htdocs\drupal\sites\default\settings.php).

 In php.ini, I changed the following lines,

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x