Drupal 7 urgent fix needed as it prevents a migration

We are migrating to a different hosting company. In order to make things easier, we are using the same control panel, same PHP version. All websites are working fine on the current production server running php5.4.45. Only change is CentOS6->CentOS7

One of our website was develop by a 3rd party 6 years ago using Drupal 7. However when migrating to the new server, the module that was developed for handing the homepage navigation does not work.

We have tried for 7 days to make it work on tweaking the server and now have to give up.

Therefore we would need a Drupal 7 expert to see what is wrong with the module and adapt it so it works with the new environment.

This is quite urgent as our migration is depending upon it.

We will provide a guide made be the developers at the time (6 years ago) but to give a flavour, I attach the module file.

We have manage to find that the problem come as soon as we go in to the function on line 79:

if (drupal_is_front_page()) {

// Here we will connect the front page to one of the dynamic views pages

// built for the homepage layout

// directory/<country>/list

// where <country> is either the current country or the Global country

// the user form of theses pages is not the internal directory/<country>/list

// url but directory/<country>.htm (rewritten by mod-rewrite)

$countrycode = expatquotes_country_get_current_country();

$currentCountryName = expatquotes_country_get_country_name_by_code($countrycode);

// redirecting...

// BUG: beware drush command line does not like redirects in hook_init

Comments with // were put by the developer... apparently he knew his code was buggy :-(

Many thanks in advance for consideration.

PS: in my view this is a bit crazy developed as a simple use of SESSION and COOKIES would have avoided all the trouble but alas, it was not done that way and we have no experience with Drupal :-( Maybe that is a way to explore...

Skills: Drupal, PHP

See more: urgent programmer needed, can fix problem joomla internet explore, urgent translator needed dutch 2009, urgent fix needed, urgent mysql start fix quick fix needed, magento urgent fix needed, drupal site backup fix db and whole site from drupal - urgent, fix drupal 7 acquia desktop error, need drupal 6 to drupal 7 migration help, drupal 7 to 8 migration using drush, drupal 7 to 8 migration, drupal 7 to 8 migration steps, drupal 7 to 8 migration module, drupal 7 to drupal 8 content migration, drupal 6 to drupal 7 migration, data migration drupal 7 to drupal 8, drupal 7 to drupal 8 migration, drupal 7 to drupal 8 module migration, drupal 7 to 8 theme migration, views migration drupal 7

About the Employer:
( 0 reviews ) Clapham, United Kingdom

Project ID: #22749097

14 freelancers are bidding on average £168 for this job


This is my job. I can do it. I’m ready to work now. I hope to work with you. Regards. ==============

£166 GBP in 1 day
(306 Reviews)

Hi there, I have read the document details its seems to me there issue with your Cookie Functionality. Could you please provide me hosting details so I can review. thanks

£225 GBP in 2 days
(212 Reviews)

Hello ... Thank you for reading this bid That link is a sample of what I did before { Just Relax and I Do All What You Need } [login to view URL] This link is a Crowd funding Platform I can More

£135 GBP in 7 days
(51 Reviews)

Hi, how are you? Thanks for reading me. I have checked your description carefully. As I am a senior web developer so I am very interested and confident on your project. I have rich experienced in almost web languages(f More

£135 GBP in 7 days
(2 Reviews)

Respected Recruiter, I read you requirement. Did you installed the DRUSH at your server? I have 10+ years experience. I have worked 8 Years in a reputed company and after that I am doing work as a freelancer. I am More

£135 GBP in 2 days
(34 Reviews)

Hi, I am Drupal developer person with excellent experience on Front-end & Back-end development, Theme development, E-commerce integration, Third party API integration, Core & contributed modules/plugins upgrade and More

£200 GBP in 7 days
(45 Reviews)

Look like the problem is coming from the module codding with wrong parameters if you wish then i am willing to fix it for you but i will also need access to your current website drupal admin and source code as well to More

£150 GBP in 3 days
(21 Reviews)

Hello, I'm interested and ready to help you. I'm a certificated Drupal developer ([login to view URL]) with an experience 5+ years. Let me know if you're interested with my help also. Regard More

£100 GBP in 2 days
(10 Reviews)

Hi, there. More

£150 GBP in 3 days
(17 Reviews)

Have you performed the clear cache before with Drush? For this we should need a console, & before assigning me try adding a default value to the taxonomy field mapping. If that would not resolve your issue then contac More

£235 GBP in 1 day
(7 Reviews)

Hello there, I have a lot of experience like developer. First things wich i love in this work is find out the solutions! You are lucky that this devleoper is set comment in him code! Please contact me to discuss detail More

£135 GBP in 7 days
(2 Reviews)

⭐⭐⭐⭐⭐ Greetings Dear Client! ⭐⭐⭐⭐⭐ Professional Drupal developer is ready for your project! I have gone through your description and I'm very interesting as an expert in this field. I'm developing Drupal program for 10 More

£300 GBP in 5 days
(1 Review)

hi, there I am very interested in your project. I have checked your requirements carefully. I can fix your bugs , if you hire me I will work even in sunday and will show you result soon. thank you

£135 GBP in 7 days
(1 Review)
£150 GBP in 3 days
(2 Reviews)