Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to 2 broke it #41

Closed
crewmark opened this issue Feb 10, 2019 · 5 comments
Closed

Upgrade to 2 broke it #41

crewmark opened this issue Feb 10, 2019 · 5 comments

Comments

@crewmark
Copy link

I've just upgraded from 1.3 to 2 and it stopped working. I get a HTTP Error 500.

mod_fcgid: stderr: PHP Parse error: syntax error, unexpected 'const' (T_CONST), expecting variable (T_VARIABLE) in /core/components/faqman/model/faqman/faqman.class.php on line 30, referer: http://XXXXXXXXXX/manager/?a=workspaces

(Ive removed the site info as it's a site that hasn't been released yet.)

@josht
Copy link
Owner

josht commented Feb 11, 2019

@crewmark What version of PHP are you on?

Also, you might try refreshing your site cache through the manager. It kind of seems like your upgrade may not have completely correctly. If it still doesn't work, if might try reinstalling the extra.

@crewmark
Copy link
Author

@josht I'm running ver 7.0.27

I cleared the cache, which I always do after any install or upgrade. I have uninstalled and reinstalled a few times via the Manager but had the same problem. I have uninstalled and preserved previous version and it 1.3 works again.

I initially installed FM 1.2.1 in Aug 2017 then updated to v 1.3 in Dec 2018. All good. It's just this latest that's come up with a completely blank page. The server errors are all the same as specified above.

@crewmark
Copy link
Author

@josht I've totally deleted all versions of FAQ Manager, cleared all caches etc and reinstalled. I've made a very basic template and added [[faqman]]. I get the same error.

Seems to be an error establishing the constants for the type column in the database (well that's the line it's failing at). What version of MySQL do I need?

@josht
Copy link
Owner

josht commented Feb 20, 2019

@crewmark Sorry it took so long, I found the fix for this. I goofed up and added some stuff only supported in PHP 7.1 and up. I'll get the new extra package built and uploaded later this evening.

josht added a commit that referenced this issue Feb 20, 2019
@josht
Copy link
Owner

josht commented Feb 20, 2019

RC3 has been uploaded and released.

@josht josht closed this as completed Feb 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants