Re: Error while installing

Hi ! I try it for this time I remove the modification on the code but still it render the error message, If I try to apply again the modification the error message will disappear but still I can't use it..


Attach file:



png  error_3.png (98.68 KB)
3342__94125f90c621545cf.png 1907X930 px
Topic


Re: Error while installing

Hi, I see you are trying to connect to the database at 127.0.0.1, and the mysql server is on 'localhost'. I know those are equivalent in practice, but I've had issues before with MySQL that it treats them as 2 different things (in fact they are not the same). can you change 127.0.0.1 -> localhost in your .env file and let me know if that solves the problem?

Me on Ohloh

Topic


Error while installing

Hi ! I try to install ImpressCMS 2.0.0 Alpha but I can't run it.  I even try to directly indicate the username,password on Database provider however it just remove the error message and the functionality still can't be use.

php version : PHP 7.4.11

OS : Windows

 

(5th time installation)

 

- clone the repo https://github.com/ImpressCMS/impresscms.git

- run composer install 

- create a .env file (empty file)

- create database named impresscms

- go to /htdocs where it redirect to installation page

- setup database connection (default username and password on xampp) and I also select PDO Mysql

- I add the database name (impresscms) and change the prefix to empty

- setup account

- insert data to database (I get this message : All done. Took 5.5023s)

- install module (Message : Module System updated successfully.)

 

Now it seems the installation complete I go to impresscms/htdocs and it render the error message

 

Clicking multiple times a functionality return this (check image)

Now I solve this via modifying the code (check image)

 

After doing that the error for mysql will not appear anymore but still I can't use the login and the not found message still here..

 

Regards :)


Attach file:


zip errors.zip Size: 200.53 KB; Hits: 161
Topic


Re: A project I've been putting off - ICMS 1.2.x to 1.3.x

iForum 2 is not compatible with PHP7, on top of that. I'm not sure if it is a worthwile time investment to try to patch iForum 2, given that it uses the Art framework instead of IPF. Potentially, many issues will also be in Art.

I want to re-do iForum in IPF, but that would be iForum 3, and would be PHP7 compatible

Me on Ohloh

Topic


Re: A project I've been putting off - ICMS 1.2.x to 1.3.x

More results - iForum 1.0 Final also requires ImpressCMS 1.3+, while iForum 1.0 RC does not.

Steve Twitter: @skenow Facebook: Steve Kenow

Topic


Re: A project I've been putting off - ICMS 1.2.x to 1.3.x

thanks for the update, I have updated the information on the github page : https://github.com/iForumModule/iforum/blob/master/README.md

One of these days I should test iForum thoroughly on PHP7 and release the 2.0 final

Me on Ohloh

Topic


Re: A project I've been putting off - ICMS 1.2.x to 1.3.x

Ran some tests this morning - iForum 2.0 requires ImpressCMS 1.3+ and not 1.2+ as the readme states. I'll have to do this in stages

Steve Twitter: @skenow Facebook: Steve Kenow

Topic


Re: A project I've been putting off - ICMS 1.2.x to 1.3.x

I'm thinking of updating the imBuilding templates to make them compatible with 1.4. While doing that, adding a skeleton to support fine-grained permissions might be a worthwile improvement.

Me on Ohloh

Topic


Re: A project I've been putting off - ICMS 1.2.x to 1.3.x

I've been reexamining my choice of having separate modules for news (time sensitive posts), articles (long term posts), and blogs (mostly point-of-view posts, that could be short- or long-term posts) and haven't done much in the way of documenting a path forward, especially for modules that don't have a current compliant version.

The forum migration should be workable - iForum has the permissions structure I'm looking to maintain and works in ImpressCMS 1.2+. We also know it works on 1.3.

News will probably end up being blog posts, and articles will probably end up being wiki pages. I haven't fully decided, yetl

 

Steve Twitter: @skenow Facebook: Steve Kenow

Topic


Re: A project I've been putting off - ICMS 1.2.x to 1.3.x

Hi @skenow , any news on this one? If the page on the wiki needs updating, feel free to do so based on your experience

Me on Ohloh

Topic


Re: A project I've been putting off - ICMS 1.2.x to 1.3.x

I'll have a look if I can find the migration script we had for the imblogging module, I think it could be useful for moving over the original news to the new news module by @madfish.

The permissions in the IPF modules until now have been handled exclusively in the 'groups' section of the system module, and there is no permissions handling done anymore in the module itself. That is a part that would be missing right now.

Me on Ohloh

Topic


Re: A project I've been putting off - ICMS 1.2.x to 1.3.x

I did a similar move more or less a year ago when we migrated the ImpressCMS site from multiple versions to 1.3. Some modules were no longer available in 1.3, so we had to reconfigure everything from scratch, and we also did a few SQL-based custom written migrations. 

As far as I know, no module out there has 'import' functionality so you might need to write your converters on your own. Having a framework (à la Drupal Migrate) that offers a standard way of doing this would be a major positive point for a future version I believe.

Moving from CBB to iForum is easy : the table structure is the same, and the URL structure is the same. If you move the attachment files into the iForum upload folder, you should be OK.

Me on Ohloh

Topic


A project I've been putting off - ICMS 1.2.x to 1.3.x

Key modules

  • News (original InstantZero module)
  • Forum (CBB vintage)

I do use group permissions for news categories - not everyone can see every category of news. The same is true of the forum, as well. Being able to assign permissions based on group and category is pretty crucial in a lot of sites, IMO.

Modules that were built on the newer code base of ImpressCMS don't seem to have this feature - or am I wrong? I am also wondering about migrating data - do the modules account for the move from old code base to the new code base, or will I be working out my own data migration?

Also - has anyone gone from 1.2.x to the latest 1.3.x? Are there midpoints that are best handled in steps?

Steve Twitter: @skenow Facebook: Steve Kenow

Topic


Re: blank page on 1.3.11 softaculous install from scratch

<p>If you install from your own upload to the host, does it work?</p> <p>What are you able to see from CPanel/WHM/Plesk? All the files/folders, database?</p>

Steve Twitter: @skenow Facebook: Steve Kenow

Topic


blank page on 1.3.11 softaculous install from scratch

<p>I am setting up some sites on my hosting account, and I'm basing them on a softaculous installation. However, I can't seem to get a working install in 1.3.11, I always get a blank page.</p>

<p>The ImpressCMS site is running on a Softaculous install that was upgraded from 1.3.10 to 1.3.11, so that works. But it looks like an install from scratch is problematic.</p>

<p>Can anyone test a softaculous install and let me know?</p>

Me on Ohloh

Topic


ImpressCMS, SSL and Cloudflare Free

<p>I setup my ImpressCMS site using a <a href="https://letsencrypt.org/">Let's Encrypt SSL certificate</a>. Everything works fine, nothing specific to configure other than putting 'https' in your root url. The site was running a bit sluggish, due to the server being on the other end of the world, so I decided to activate the free Cloudflare option my hosting company offered.</p>

<p>After that, once Cloudflare was up and running, my site was unreachable due to 'the site redirecting in an incorrect way'. Because the site has been working without issue before, I figured it was the cloudflare setup that needed adapting.</p>

<p>I found <a href="https://support.cloudflare.com/hc/en-us/articles/200170536-How-do-I-redirect-all-visitors-to-HTTPS-SSL-">this article on the cloudflare support site</a> that explains what was happening : my site was SSL-only, but the cloudflare default setting is for 'Flexible SSL'. The Flexible SSL option acts as a SSL proxy between your users and your site, and can be a good option if you don't have the opportunity to run your site with an SSL certificate, but you want to expose an SSL address to the world. Cloudflare then exposes a HTTPS address to the outside world, but communicates with your servers without it.</p>

<p>Changing the option from 'Flexible SSL' to 'Full SSL' immediately fixed the issue for me. Site response times have improved considerably since then.</p>

Me on Ohloh

Topic


Re: login to custom php app using icms login credential ?

<p>As a follow-up on this, you could implement this using a OAuth2 server, where the OAuth2 server lets the user login in your ImpressCMS site, and then notify your other webapp that the user is verified. That means custom development on both sides, and i don't think that this has been attempted before for an ImpressCMS site.&nbsp;</p>

<p>This would be the most flexible solution, in the likes of logging in with Twitter, Google, Microsoft or Facebook into a site.</p>

Me on Ohloh

Topic


carousel no longer working after upgrade to ImpressCMS 1.3.11

Hi,

after we upgraded the ImpressCMS site (this one) to the latest version using Softaculous, we noticed after a short while that the carousel on the front page wasn't working anymore.

looking at the HTML sourcecode, the content was still there, but for some reason it wasn't showing on the screen anymore.

We noticed an error message in the browser logs telling us that the version of jQuery was too recent. As a quick fix, I downgraded the jQuery included in ImpressCMS to the one we bundled previously (1.9.1). Further investigation by @skenow revealed that it's our theme that is slightly too old and not using the latest version of Bootstrap 3. Bootstrap 3.3.7 supports jQuery higher than 3.0.

We'll upgrade our bootstrap and possibly our carousel version in the near future, but I just wanted to let you know in case you run into the same problem. It's not a core issue, it is most likely related to the bootstrap version in your theme.

Me on Ohloh

Topic


Re: login to custom php app using icms login credential ?

<p>I totally agree with @skenow. This way you don't need to duplicate the login procedure in ImpressCMS, and you can still use the existing userbase.</p>

<p>&nbsp;</p>

Me on Ohloh

Topic


Re: login to custom php app using icms login credential ?

<p>So - you want to have your login be the login from your ImpressCMS site, with all their users and passwords, and the rest of the content be restricted, but not an icms site?</p>

<p>Then, each of your pages must check for a valid user, like your ICMS site does (icms::$user is set and meets your criteria).</p>

<p>To access this information, the easiest way I see is to require mainfile.php in all your pages, which will give you a connection to the db that holds the users and the salt key stored in the trust path to complete the authorization.</p>

Steve Twitter: @skenow Facebook: Steve Kenow

Topic



 Top