MLWebTechnologies / PrayerCenter

Online Prayer component
http://mlwebtechnologies.github.io/PrayerCenter/
3 stars 6 forks source link

Strange characters when opening Prayercenter #19

Open karlisrz opened 6 years ago

karlisrz commented 6 years ago

prayercenter

When opening prayercenter it looks like some code is displayed and after a few seconds a print window pops up. Before installing I cleaned out any prayercenter residue files (I had installed an older version before and it just stopped working) and d/b tables.

Also, is there a way to import all users into distribution list?

kev1harris commented 5 years ago

image

I am getting the same issue as well. I have not made any changes it just started opening up that way.

lawhitta commented 5 years ago

Has there been any resolution to this issue? I am having the same problem. Also, I cannot get to the pray request page. I am using the latest version of PHP if this helps solve the issue.

kev1harris commented 5 years ago

No, This is still an issue. I to thought I needed to update to a newer PHP version to fix the issue and it made things worse.  Like you I was unable to get to the the pray request page.  I have since rolled back to a backup copy of my website that is running PHP version 5.6.  While I can now get to my pray request page, I still get the pop up on the back end about printing.

On Wednesday, January 2, 2019, 5:27:13 AM EST, lawhitta <notifications@github.com> wrote:  

Has there been any resolution to this issue? I am having the same problem. Also, I cannot get to the pray request page. I am using the latest version of PHP if this helps solve the issue.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

lawhitta commented 5 years ago

Thank you,

I think I will try to start helping fix the issues. I think these error have to do with the new versions of PHP. We need to get a list of deprecated commands and begin searching for those that should be replaced.

Lisa Outlaw

Sent from my iPhone

On Jan 2, 2019, at 7:21 AM, kev1harris notifications@github.com wrote:

No, This is still an issue. I to thought I needed to update to a newer PHP version to fix the issue and it made things worse. Like you I was unable to get to the the pray request page. I have since rolled back to a backup copy of my website that is running PHP version 5.6. While I can now get to my pray request page, I still get the pop up on the back end about printing.

On Wednesday, January 2, 2019, 5:27:13 AM EST, lawhitta notifications@github.com wrote:

Has there been any resolution to this issue? I am having the same problem. Also, I cannot get to the pray request page. I am using the latest version of PHP if this helps solve the issue.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread. — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

lawhitta commented 5 years ago

I found a solution that will stop the print dialog box. The issue is not caused by prayercenter component. It is caused by godaddy monitoring that they have added to your website. Please do the following, and this will stop the dialog box issue:

Go to your CPANEL in godaddy, and click on the "Help Us" choose opt out: image

Choose the "Opt Out": This following is what it will look like after you opt out. The print dialog box will then start working: image

lawhitta commented 5 years ago

Here is the fix for the "Error has occurred problem".

Apparently, PHP 7.1 cannot handle code that uses

$sample[ ] = ' ';

This code must be changed to the following:

$sample[ ] = array();

I have edited the attached files to correct all instances that is causing the issue. Please upload the files to the following path and replace your existing default.php file.

Remember to rename both files to default.php.

default.php (fix manage req) should be placed in the followinh location: /administrator/components/com_prayercenter/views/managereq/tmpl/default.php rename to default.php

default.php (fix manage sub) should be placed in the followinh location: /administrator/components/com_prayercenter/views/managesub/tmpl/default.php rename to default.php

Lisa Outlaw Email: kalenmia@aol.com "We Offer Christ"

-----Original Message----- From: kalenmia kalenmia@aol.com To: reply+02c2bc185c3e7576afc0838fe018b2ef138a5eb66c4d22cd92cf0000000118446edd92a169ce14159ee2 reply@reply.github.com; PrayerCenter PrayerCenter@noreply.github.com Cc: comment comment@noreply.github.com Sent: Sat, Jan 5, 2019 2:20 pm Subject: Re: [MLWebTechnologies/PrayerCenter] Strange characters when opening Prayercenter (#19)

I found a solution that will stop the print dialog box. The issue is not caused by prayercenter component. It is caused by godaddy monitoring that they have added to your website. Please do the following, and this will stop the dialog box issue:

Go to your CPANEL in godaddy, and click on the "Help Us" choose opt out:

Choose the "Opt Out": This following is what it will look like after you opt out. The print dialog box will then start working:

Lisa Outlaw Email: kalenmia@aol.com "We Offer Christ"

-----Original Message----- From: kev1harris notifications@github.com To: MLWebTechnologies/PrayerCenter PrayerCenter@noreply.github.com Cc: lawhitta kalenmia@aol.com; Comment comment@noreply.github.com Sent: Wed, Jan 2, 2019 7:21 am Subject: Re: [MLWebTechnologies/PrayerCenter] Strange characters when opening Prayercenter (#19)

No, This is still an issue. I to thought I needed to update to a newer PHP version to fix the issue and it made things worse. Like you I was unable to get to the the pray request page. I have since rolled back to a backup copy of my website that is running PHP version 5.6. While I can now get to my pray request page, I still get the pop up on the back end about printing.

On Wednesday, January 2, 2019, 5:27:13 AM EST, lawhitta notifications@github.com wrote:

Has there been any resolution to this issue? I am having the same problem. Also, I cannot get to the pray request page. I am using the latest version of PHP if this helps solve the issue.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

kev1harris commented 5 years ago

Lisa, Thank you that took care of the print dialog box on the back end.

On Saturday, January 5, 2019, 2:20:08 PM EST, lawhitta <notifications@github.com> wrote:  

I found a solution that will stop the print dialog box. The issue is not caused by prayercenter component. It is caused by godaddy monitoring that they have added to your website. Please do the following, and this will stop the dialog box issue:

Go to your CPANEL in godaddy, and click on the "Help Us" choose opt out:

Choose the "Opt Out": This following is what it will look like after you opt out. The print dialog box will then start working:

Lisa Outlaw Email: kalenmia@aol.com "We Offer Christ"

-----Original Message----- From: kev1harris notifications@github.com To: MLWebTechnologies/PrayerCenter PrayerCenter@noreply.github.com Cc: lawhitta kalenmia@aol.com; Comment comment@noreply.github.com Sent: Wed, Jan 2, 2019 7:21 am Subject: Re: [MLWebTechnologies/PrayerCenter] Strange characters when opening Prayercenter (#19)

No, This is still an issue. I to thought I needed to update to a newer PHP version to fix the issue and it made things worse. Like you I was unable to get to the the pray request page. I have since rolled back to a backup copy of my website that is running PHP version 5.6. While I can now get to my pray request page, I still get the pop up on the back end about printing.

On Wednesday, January 2, 2019, 5:27:13 AM EST, lawhitta notifications@github.com wrote:

Has there been any resolution to this issue? I am having the same problem. Also, I cannot get to the pray request page. I am using the latest version of PHP if this helps solve the issue.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

kev1harris commented 5 years ago

Lisa, I went ahead and updated to to 7.1 and then changed those views you mentioned below, plus the other two views and that took care of it on the back end.

I then went and tested the front end. Everything worked except for, I could not submit a request as I got the following error.

0 - Call to undefined function split()       

The page it was trying to open was church-prayer-requests\newreq page Thank you

On Saturday, January 5, 2019, 4:12:02 PM EST, lawhitta <notifications@github.com> wrote:  

Here is the fix for the "Error has occurred problem".

Apparently, PHP 7.1 cannot handle code that uses

$sample[ ] = ' ';

This code must be changed to the following:

$sample[ ] = array();

I have edited the attached files to correct all instances that is causing the issue. Please upload the files to the following path and replace your existing default.php file.

Remember to rename both files to default.php.

default.php (fix manage req) should be placed in the followinh location: /administrator/components/com_prayercenter/views/managereq/tmpl/default.php rename to default.php

default.php (fix manage sub) should be placed in the followinh location: /administrator/components/com_prayercenter/views/managesub/tmpl/default.php rename to default.php

Lisa Outlaw Email: kalenmia@aol.com "We Offer Christ"

-----Original Message----- From: kalenmia kalenmia@aol.com To: reply+02c2bc185c3e7576afc0838fe018b2ef138a5eb66c4d22cd92cf0000000118446edd92a169ce14159ee2 reply@reply.github.com; PrayerCenter PrayerCenter@noreply.github.com Cc: comment comment@noreply.github.com Sent: Sat, Jan 5, 2019 2:20 pm Subject: Re: [MLWebTechnologies/PrayerCenter] Strange characters when opening Prayercenter (#19)

I found a solution that will stop the print dialog box. The issue is not caused by prayercenter component. It is caused by godaddy monitoring that they have added to your website. Please do the following, and this will stop the dialog box issue:

Go to your CPANEL in godaddy, and click on the "Help Us" choose opt out:

Choose the "Opt Out": This following is what it will look like after you opt out. The print dialog box will then start working:

Lisa Outlaw Email: kalenmia@aol.com "We Offer Christ"

-----Original Message----- From: kev1harris notifications@github.com To: MLWebTechnologies/PrayerCenter PrayerCenter@noreply.github.com Cc: lawhitta kalenmia@aol.com; Comment comment@noreply.github.com Sent: Wed, Jan 2, 2019 7:21 am Subject: Re: [MLWebTechnologies/PrayerCenter] Strange characters when opening Prayercenter (#19)

No, This is still an issue. I to thought I needed to update to a newer PHP version to fix the issue and it made things worse. Like you I was unable to get to the the pray request page. I have since rolled back to a backup copy of my website that is running PHP version 5.6. While I can now get to my pray request page, I still get the pop up on the back end about printing.

On Wednesday, January 2, 2019, 5:27:13 AM EST, lawhitta notifications@github.com wrote:

Has there been any resolution to this issue? I am having the same problem. Also, I cannot get to the pray request page. I am using the latest version of PHP if this helps solve the issue.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

lawhitta commented 5 years ago

You have to make sure your split function is renamed to explode. This was fixed in the latest version of prayer center after April 2018. I will send you my file when I get home. Also, I had to change to other files to remove other errors similar to the once’s that impacted the manage request and subscriber pages.

My prayer request are working except I have a $this error which I submitted to Mike Leeper to see if he could assist with fixing. This error does not stop the functionality but it will make you believe that a prayer request approval or denial did not work, when it actually did process.

I will send you my version of my files to help you get you application working. I will send after 9:00pm eastern standard time.

Lisa Outlaw

Sent from my iPhone

On Jan 7, 2019, at 7:52 AM, kev1harris notifications@github.com wrote:

Lisa, I went ahead and updated to to 7.1 and then changed those views you mentioned below, plus the other two views and that took care of it on the back end.

I then went and tested the front end. Everything worked except for, I could not submit a request as I got the following error.

0 - Call to undefined function split()

The page it was trying to open was church-prayer-requests\newreq page Thank you

On Saturday, January 5, 2019, 4:12:02 PM EST, lawhitta notifications@github.com wrote:

Here is the fix for the "Error has occurred problem".

Apparently, PHP 7.1 cannot handle code that uses

$sample[ ] = ' ';

This code must be changed to the following:

$sample[ ] = array();

I have edited the attached files to correct all instances that is causing the issue. Please upload the files to the following path and replace your existing default.php file.

Remember to rename both files to default.php.

default.php (fix manage req) should be placed in the followinh location: /administrator/components/com_prayercenter/views/managereq/tmpl/default.php rename to default.php

default.php (fix manage sub) should be placed in the followinh location: /administrator/components/com_prayercenter/views/managesub/tmpl/default.php rename to default.php

Lisa Outlaw Email: kalenmia@aol.com "We Offer Christ"

-----Original Message----- From: kalenmia kalenmia@aol.com To: reply+02c2bc185c3e7576afc0838fe018b2ef138a5eb66c4d22cd92cf0000000118446edd92a169ce14159ee2 reply@reply.github.com; PrayerCenter PrayerCenter@noreply.github.com Cc: comment comment@noreply.github.com Sent: Sat, Jan 5, 2019 2:20 pm Subject: Re: [MLWebTechnologies/PrayerCenter] Strange characters when opening Prayercenter (#19)

I found a solution that will stop the print dialog box. The issue is not caused by prayercenter component. It is caused by godaddy monitoring that they have added to your website. Please do the following, and this will stop the dialog box issue:

Go to your CPANEL in godaddy, and click on the "Help Us" choose opt out:

Choose the "Opt Out": This following is what it will look like after you opt out. The print dialog box will then start working:

Lisa Outlaw Email: kalenmia@aol.com "We Offer Christ"

-----Original Message----- From: kev1harris notifications@github.com To: MLWebTechnologies/PrayerCenter PrayerCenter@noreply.github.com Cc: lawhitta kalenmia@aol.com; Comment comment@noreply.github.com Sent: Wed, Jan 2, 2019 7:21 am Subject: Re: [MLWebTechnologies/PrayerCenter] Strange characters when opening Prayercenter (#19)

No, This is still an issue. I to thought I needed to update to a newer PHP version to fix the issue and it made things worse. Like you I was unable to get to the the pray request page. I have since rolled back to a backup copy of my website that is running PHP version 5.6. While I can now get to my pray request page, I still get the pop up on the back end about printing.

On Wednesday, January 2, 2019, 5:27:13 AM EST, lawhitta notifications@github.com wrote:

Has there been any resolution to this issue? I am having the same problem. Also, I cannot get to the pray request page. I am using the latest version of PHP if this helps solve the issue.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread. — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

lawhitta commented 5 years ago

Here is the new request default file. See if this works for you.

Lisa Outlaw Email: kalenmia@aol.com "We Offer Christ"

-----Original Message----- From: kev1harris notifications@github.com To: MLWebTechnologies/PrayerCenter PrayerCenter@noreply.github.com Cc: lawhitta kalenmia@aol.com; Comment comment@noreply.github.com Sent: Mon, Jan 7, 2019 7:52 am Subject: Re: [MLWebTechnologies/PrayerCenter] Strange characters when opening Prayercenter (#19)

Lisa, I went ahead and updated to to 7.1 and then changed those views you mentioned below, plus the other two views and that took care of it on the back end.

I then went and tested the front end. Everything worked except for, I could not submit a request as I got the following error.

0 - Call to undefined function split()

The page it was trying to open was church-prayer-requests ewreq page Thank you

On Saturday, January 5, 2019, 4:12:02 PM EST, lawhitta notifications@github.com wrote:

Here is the fix for the "Error has occurred problem".

Apparently, PHP 7.1 cannot handle code that uses

$sample[ ] = ' ';

This code must be changed to the following:

$sample[ ] = array();

I have edited the attached files to correct all instances that is causing the issue. Please upload the files to the following path and replace your existing default.php file.

Remember to rename both files to default.php.

default.php (fix manage req) should be placed in the followinh location: /administrator/components/com_prayercenter/views/managereq/tmpl/default.php rename to default.php

default.php (fix manage sub) should be placed in the followinh location: /administrator/components/com_prayercenter/views/managesub/tmpl/default.php rename to default.php

Lisa Outlaw Email: kalenmia@aol.com "We Offer Christ"

-----Original Message----- From: kalenmia kalenmia@aol.com To: reply+02c2bc185c3e7576afc0838fe018b2ef138a5eb66c4d22cd92cf0000000118446edd92a169ce14159ee2 reply@reply.github.com; PrayerCenter PrayerCenter@noreply.github.com Cc: comment comment@noreply.github.com Sent: Sat, Jan 5, 2019 2:20 pm Subject: Re: [MLWebTechnologies/PrayerCenter] Strange characters when opening Prayercenter (#19)

I found a solution that will stop the print dialog box. The issue is not caused by prayercenter component. It is caused by godaddy monitoring that they have added to your website. Please do the following, and this will stop the dialog box issue:

Go to your CPANEL in godaddy, and click on the "Help Us" choose opt out:

Choose the "Opt Out": This following is what it will look like after you opt out. The print dialog box will then start working:

Lisa Outlaw Email: kalenmia@aol.com "We Offer Christ"

-----Original Message----- From: kev1harris notifications@github.com To: MLWebTechnologies/PrayerCenter PrayerCenter@noreply.github.com Cc: lawhitta kalenmia@aol.com; Comment comment@noreply.github.com Sent: Wed, Jan 2, 2019 7:21 am Subject: Re: [MLWebTechnologies/PrayerCenter] Strange characters when opening Prayercenter (#19)

No, This is still an issue. I to thought I needed to update to a newer PHP version to fix the issue and it made things worse. Like you I was unable to get to the the pray request page. I have since rolled back to a backup copy of my website that is running PHP version 5.6. While I can now get to my pray request page, I still get the pop up on the back end about printing.

On Wednesday, January 2, 2019, 5:27:13 AM EST, lawhitta notifications@github.com wrote:

Has there been any resolution to this issue? I am having the same problem. Also, I cannot get to the pray request page. I am using the latest version of PHP if this helps solve the issue.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

kev1harris commented 5 years ago

Lisa, Thank you for your help. I do not see anything in your last post to look at.

lawhitta commented 5 years ago

I had attached a file via email. Check to see if the file (default.php newreq) is in your email. They may have stripped from the posts.

Sent from my iPhone

On Jan 8, 2019, at 7:00 AM, kev1harris notifications@github.com wrote:

Lisa, Thank you for your help. I do not see anything in your last post to look at.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

kev1harris commented 5 years ago

Lisa, Thank you for responding, but there there wasn't anything attached to email.

I had attached a file via email. Check to see if the file (default.php newreq) is in your email. They may have stripped from the posts.

Sent from my iPhone

On Jan 8, 2019, at 7:00 AM, kev1harris notifications@github.com wrote:

Lisa, Thank you for your help. I do not see anything in your last post to look at.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

On Monday, January 7, 2019, 10:56:07 PM EST, lawhitta <notifications@github.com> wrote:  

Here is the new request default file. See if this works for you.

Lisa Outlaw Email: kalenmia@aol.com "We Offer Christ"

-----Original Message----- From: kev1harris notifications@github.com To: MLWebTechnologies/PrayerCenter PrayerCenter@noreply.github.com Cc: lawhitta kalenmia@aol.com; Comment comment@noreply.github.com Sent: Mon, Jan 7, 2019 7:52 am Subject: Re: [MLWebTechnologies/PrayerCenter] Strange characters when opening Prayercenter (#19)

Lisa, I went ahead and updated to to 7.1 and then changed those views you mentioned below, plus the other two views and that took care of it on the back end.

I then went and tested the front end. Everything worked except for, I could not submit a request as I got the following error.

0 - Call to undefined function split()

The page it was trying to open was church-prayer-requests ewreq page Thank you

On Saturday, January 5, 2019, 4:12:02 PM EST, lawhitta notifications@github.com wrote:

Here is the fix for the "Error has occurred problem".

Apparently, PHP 7.1 cannot handle code that uses

$sample[ ] = ' ';

This code must be changed to the following:

$sample[ ] = array();

I have edited the attached files to correct all instances that is causing the issue. Please upload the files to the following path and replace your existing default.php file.

Remember to rename both files to default.php.

default.php (fix manage req) should be placed in the followinh location: /administrator/components/com_prayercenter/views/managereq/tmpl/default.php rename to default.php

default.php (fix manage sub) should be placed in the followinh location: /administrator/components/com_prayercenter/views/managesub/tmpl/default.php rename to default.php

Lisa Outlaw Email: kalenmia@aol.com "We Offer Christ"

-----Original Message----- From: kalenmia kalenmia@aol.com To: reply+02c2bc185c3e7576afc0838fe018b2ef138a5eb66c4d22cd92cf0000000118446edd92a169ce14159ee2 reply@reply.github.com; PrayerCenter PrayerCenter@noreply.github.com Cc: comment comment@noreply.github.com Sent: Sat, Jan 5, 2019 2:20 pm Subject: Re: [MLWebTechnologies/PrayerCenter] Strange characters when opening Prayercenter (#19)

I found a solution that will stop the print dialog box. The issue is not caused by prayercenter component. It is caused by godaddy monitoring that they have added to your website. Please do the following, and this will stop the dialog box issue:

Go to your CPANEL in godaddy, and click on the "Help Us" choose opt out:

Choose the "Opt Out": This following is what it will look like after you opt out. The print dialog box will then start working:

Lisa Outlaw Email: kalenmia@aol.com "We Offer Christ"

-----Original Message----- From: kev1harris notifications@github.com To: MLWebTechnologies/PrayerCenter PrayerCenter@noreply.github.com Cc: lawhitta kalenmia@aol.com; Comment comment@noreply.github.com Sent: Wed, Jan 2, 2019 7:21 am Subject: Re: [MLWebTechnologies/PrayerCenter] Strange characters when opening Prayercenter (#19)

No, This is still an issue. I to thought I needed to update to a newer PHP version to fix the issue and it made things worse. Like you I was unable to get to the the pray request page. I have since rolled back to a backup copy of my website that is running PHP version 5.6. While I can now get to my pray request page, I still get the pop up on the back end about printing.

On Wednesday, January 2, 2019, 5:27:13 AM EST, lawhitta notifications@github.com wrote:

Has there been any resolution to this issue? I am having the same problem. Also, I cannot get to the pray request page. I am using the latest version of PHP if this helps solve the issue.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

lawhitta commented 5 years ago

Sorry for the delay in my reply. I thought I sent this file to you. Please try to replace the new req default.php with this file. Please be sure to remove the "(newreq)" that I placed at the end of the filename.

Lisa Outlaw Email: kalenmia@aol.com "We Offer Christ"

-----Original Message----- From: Lisa kalenmia@aol.com To: MLWebTechnologies/PrayerCenter reply@reply.github.com Cc: MLWebTechnologies/PrayerCenter PrayerCenter@noreply.github.com; Comment comment@noreply.github.com Sent: Mon, Jan 7, 2019 9:40 am Subject: Re: [MLWebTechnologies/PrayerCenter] Strange characters when opening Prayercenter (#19)

You have to make sure your split function is renamed to explode. This was fixed in the latest version of prayer center after April 2018. I will send you my file when I get home. Also, I had to change to other files to remove other errors similar to the once’s that impacted the manage request and subscriber pages.

My prayer request are working except I have a $this error which I submitted to Mike Leeper to see if he could assist with fixing. This error does not stop the functionality but it will make you believe that a prayer request approval or denial did not work, when it actually did process.

I will send you my version of my files to help you get you application working. I will send after 9:00pm eastern standard time.

Lisa Outlaw

Sent from my iPhone

On Jan 7, 2019, at 7:52 AM, kev1harris notifications@github.com wrote:

Lisa, I went ahead and updated to to 7.1 and then changed those views you mentioned below, plus the other two views and that took care of it on the back end.

I then went and tested the front end. Everything worked except for, I could not submit a request as I got the following error.

0 - Call to undefined function split()

The page it was trying to open was church-prayer-requests\newreq page Thank you

On Saturday, January 5, 2019, 4:12:02 PM EST, lawhitta <notifications@github.com> wrote:  

Here is the fix for the "Error has occurred problem".

Apparently, PHP 7.1 cannot handle code that uses

$sample[ ] = ' ';

This code must be changed to the following:

$sample[ ] = array();

I have edited the attached files to correct all instances that is causing the issue. Please upload the files to the following path and replace your existing default.php file.

Remember to rename both files to default.php.

default.php (fix manage req) should be placed in the followinh location: /administrator/components/com_prayercenter/views/managereq/tmpl/default.php rename to default.php

default.php (fix manage sub) should be placed in the followinh location: /administrator/components/com_prayercenter/views/managesub/tmpl/default.php rename to default.php

Lisa Outlaw Email: kalenmia@aol.com "We Offer Christ"

-----Original Message----- From: kalenmia kalenmia@aol.com To: reply+02c2bc185c3e7576afc0838fe018b2ef138a5eb66c4d22cd92cf0000000118446edd92a169ce14159ee2 reply@reply.github.com; PrayerCenter PrayerCenter@noreply.github.com Cc: comment comment@noreply.github.com Sent: Sat, Jan 5, 2019 2:20 pm Subject: Re: [MLWebTechnologies/PrayerCenter] Strange characters when opening Prayercenter (#19)

I found a solution that will stop the print dialog box. The issue is not caused by prayercenter component. It is caused by godaddy monitoring that they have added to your website. Please do the following, and this will stop the dialog box issue:

Go to your CPANEL in godaddy, and click on the "Help Us" choose opt out:

Choose the "Opt Out": This following is what it will look like after you opt out. The print dialog box will then start working:

Lisa Outlaw Email: kalenmia@aol.com "We Offer Christ"

-----Original Message----- From: kev1harris notifications@github.com To: MLWebTechnologies/PrayerCenter PrayerCenter@noreply.github.com Cc: lawhitta kalenmia@aol.com; Comment comment@noreply.github.com Sent: Wed, Jan 2, 2019 7:21 am Subject: Re: [MLWebTechnologies/PrayerCenter] Strange characters when opening Prayercenter (#19)

No, This is still an issue. I to thought I needed to update to a newer PHP version to fix the issue and it made things worse. Like you I was unable to get to the the pray request page. I have since rolled back to a backup copy of my website that is running PHP version 5.6. While I can now get to my pray request page, I still get the pop up on the back end about printing.

On Wednesday, January 2, 2019, 5:27:13 AM EST, lawhitta notifications@github.com wrote:

Has there been any resolution to this issue? I am having the same problem. Also, I cannot get to the pray request page. I am using the latest version of PHP if this helps solve the issue.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

kev1harris commented 5 years ago

Lisa, Not sure but I think the attachment is being stripped off.  I have checked my email and the support sight and there is no file attached. Thank you

On Monday, January 14, 2019, 1:48:11 AM EST, lawhitta <notifications@github.com> wrote:  

Sorry for the delay in my reply. I thought I sent this file to you. Please try to replace the new req default.php with this file. Please be sure to remove the "(newreq)" that I placed at the end of the filename.

Lisa Outlaw Email: kalenmia@aol.com "We Offer Christ"

-----Original Message----- From: Lisa kalenmia@aol.com To: MLWebTechnologies/PrayerCenter reply@reply.github.com Cc: MLWebTechnologies/PrayerCenter PrayerCenter@noreply.github.com; Comment comment@noreply.github.com Sent: Mon, Jan 7, 2019 9:40 am Subject: Re: [MLWebTechnologies/PrayerCenter] Strange characters when opening Prayercenter (#19)

You have to make sure your split function is renamed to explode. This was fixed in the latest version of prayer center after April 2018. I will send you my file when I get home. Also, I had to change to other files to remove other errors similar to the once’s that impacted the manage request and subscriber pages.

My prayer request are working except I have a $this error which I submitted to Mike Leeper to see if he could assist with fixing. This error does not stop the functionality but it will make you believe that a prayer request approval or denial did not work, when it actually did process.

I will send you my version of my files to help you get you application working. I will send after 9:00pm eastern standard time.

Lisa Outlaw

Sent from my iPhone

On Jan 7, 2019, at 7:52 AM, kev1harris notifications@github.com wrote:

Lisa, I went ahead and updated to to 7.1 and then changed those views you mentioned below, plus the other two views and that took care of it on the back end.

I then went and tested the front end. Everything worked except for, I could not submit a request as I got the following error.

0 - Call to undefined function split()

The page it was trying to open was church-prayer-requests\newreq page Thank you

On Saturday, January 5, 2019, 4:12:02 PM EST, lawhitta notifications@github.com wrote:

Here is the fix for the "Error has occurred problem".

Apparently, PHP 7.1 cannot handle code that uses

$sample[ ] = ' ';

This code must be changed to the following:

$sample[ ] = array();

I have edited the attached files to correct all instances that is causing the issue. Please upload the files to the following path and replace your existing default.php file.

Remember to rename both files to default.php.

default.php (fix manage req) should be placed in the followinh location: /administrator/components/com_prayercenter/views/managereq/tmpl/default.php rename to default.php

default.php (fix manage sub) should be placed in the followinh location: /administrator/components/com_prayercenter/views/managesub/tmpl/default.php rename to default.php

Lisa Outlaw Email: kalenmia@aol.com "We Offer Christ"

-----Original Message----- From: kalenmia kalenmia@aol.com To: reply+02c2bc185c3e7576afc0838fe018b2ef138a5eb66c4d22cd92cf0000000118446edd92a169ce14159ee2 reply@reply.github.com; PrayerCenter PrayerCenter@noreply.github.com Cc: comment comment@noreply.github.com Sent: Sat, Jan 5, 2019 2:20 pm Subject: Re: [MLWebTechnologies/PrayerCenter] Strange characters when opening Prayercenter (#19)

I found a solution that will stop the print dialog box. The issue is not caused by prayercenter component. It is caused by godaddy monitoring that they have added to your website. Please do the following, and this will stop the dialog box issue:

Go to your CPANEL in godaddy, and click on the "Help Us" choose opt out:

Choose the "Opt Out": This following is what it will look like after you opt out. The print dialog box will then start working:

Lisa Outlaw Email: kalenmia@aol.com "We Offer Christ"

-----Original Message----- From: kev1harris notifications@github.com To: MLWebTechnologies/PrayerCenter PrayerCenter@noreply.github.com Cc: lawhitta kalenmia@aol.com; Comment comment@noreply.github.com Sent: Wed, Jan 2, 2019 7:21 am Subject: Re: [MLWebTechnologies/PrayerCenter] Strange characters when opening Prayercenter (#19)

No, This is still an issue. I to thought I needed to update to a newer PHP version to fix the issue and it made things worse. Like you I was unable to get to the the pray request page. I have since rolled back to a backup copy of my website that is running PHP version 5.6. While I can now get to my pray request page, I still get the pop up on the back end about printing.

On Wednesday, January 2, 2019, 5:27:13 AM EST, lawhitta notifications@github.com wrote:

Has there been any resolution to this issue? I am having the same problem. Also, I cannot get to the pray request page. I am using the latest version of PHP if this helps solve the issue.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.