Problems with PHP after updating to 6.7.3

sorry how do i enable detailed error reporting. i didn't see that in the article sent. im sorry i feel like im being stupid.
Rick

It's on your server. Please contact your hosting provider and ask them to do this.

ok i'm asking them to do this for me. thanks.

Meanwhile make sure to manually upload the dmxConnect and dmxConnectLib folders to the server.

my entire site is now not working. even my front page. marsalstudios.com isn't working. is there a way to revert back to the previous version I had. i suspect i know the answer. I'm also looking to ask my hosting provider if we need to revert to a backup of the entire site. but I'm hoping it's just something easy to fix once you know what it is.

the main page is Wedding Photography and Wedding Videography in Connecticut is giving an error for weddinggallery.php but that's all I see.

You can downgrade Wappler to the older version.
Do you maintain a version backup (e.g. Git)

1 Like

how do i do this?

Get the installer file for the older version of Wappler. Trying to fix this will take days, maybe weeks if you're not technical

Do you know what version you were on? There's a list somewhere of the old installer. Ask here on the forum for it - someone will provide it

no i don't know but its been about a year since i upgraded. if i ask my hosting provider to go to a backup of the entire set of files for wappler on my site, will that restore everything?

1 Like

I can't say for certain but it probably will. Including the database. At this stage, got for the closest date to when you upgraded. Yesterday maybe? You've got nothing to lose.

Ask on the forum for a version about 1 year old - there's good people here who will have a reasonably accurate idea of the version number

Thats probably the quickest fix for now. But won't help you with future updates.

I don't think going back to an older version of Wappler will help. I could be wrong but it will only look for older files and all your files will be newer so they won't update.

1 Like

You can try enabling detailed error reporting in your .htaccess file by adding:

php_flag display_startup_errors on
php_flag display_errors on
php_flag html_errors on

This file will be in your htdocs directory (root directory of your website). You should be able to see the file in your FTP client, or by clicking on Target in the Wappler File Manager:

Screenshot from 2024-07-12 18-29-31

Agreed.
Step 1 - get your system back up and running.
Step 2 - work on a local dev build to migrate

1 Like

You are probably missing the recently added file:

dmxConnectLib/templateFunctions.php

on your remote server. Please make sure it is uploaded

That's a good catch. That file is definitely missing.

WOW WOW WOW that did it! oh my god, i just aged 10 years this morning but I can relax a bit. now the site is back up and most of it is working as it was before the upgrade. i do have one problem with a page that is not t working but i had that problem before the upgrade which is why i was hoping the upgrade would take care of it. at least I can breathe now for a bit.

2 Likes

thank you George !!!!! and thanks to everyone who tried to help as well. I'm still having the detailed reporting turned on as the page I need fixed may have to do with spaces on the php file if that's a problem.

Spaces will usually cause headaches.

You may want to remove your link to your admin area from your post above as well. :wink:

Now be sure to BACKUP! Get in to the habit of backing up before every Wappler session. It is as easy as copying the Project directory to another location on your hard drive (and to be doubly sure to USB drive too). Save you aging any further!

1 Like

This is exactly why I had to stop my current project with Wappler, except mine was not PHP, it was .JS. With each little update inside Wappler, After the update I would get the message to keep updating the Server Connect and other Router files to revert them back to the original way that Wappler would prefer them.

But I didn't want them reverted back, I needed the updates I had added to stay as it has to do with added modules and routing specifics. But each time I opened the file to edit it, each time, Wappler pops up the window to update the files back to the original.

Then, when Server Connect Updates happen, my application will no longer work the way I had set it up, and pretty much need to re-set up all of these added Auth, Modules, and I end up in an endless circle pattern of having to re-set up.

As much as I appreciate Wappler, I'm not a fan of having to constantly feeling like I have to reset up custom modules and such. Unless there is something I am no being told I should be doing to make sure that updates can keep coming in, without errors.

I know all this because, when I first encountered the Update screen after making good progress on my application, I initially said "Oh, I guess I need to update" and I clicked the update. Once that was done, Wappler would restart, and I would right away notice missing pieces of code and Routes I have added myself. So I eventually stopped clicking the 'Update' button and just kept working on the project while ignoring the update screen.

Now with the most latest Update and Changes to Wappler: I really would like to update, but have lost the appetite to restart on my application once again. And this is how my Wappler project has come to an end.

(being dramatic, but I also did stop working on it.)

-Thank you.