Error in version control after upgrading to 1.4.10

After upgrading to 1.4.10 from 1.4.9, in the version control i see 1.4.8.
Is there something wrong with this ?

I have the same problem … I upgraded from 1.4.8 to 1.4.10 … and its still showing 1.4.8

1 Like

Same here. I also had an issue with access when in the the index.php file ‘https’ it would state unsecured site and either render it without the CSS or flat error out with ‘TEMP SITE’ text.

I have corrected that by changing to ‘http’ how ever unsure of the safety of this? Also perhaps new thread topic?

Appreciated.
Barry

Hello I manage the issue for version control
When I was going to /setup/ I added the redirect in .htaccess to secure which means it can’t goes to /setup

To fix it

  1. Go to .htaccess at the root
  2. Remove Redirect /setup http://factures.k2b-webagency.com/
  3. Launch http://yourdomain.com/setup again
  4. Once it’s all over add the Redirect part to .htaccess and version control will be updated :slight_smile:

There is no such line in my .htaccess file on the root of invoiceplane.
Actually there is not an .htaccess file there at all.

You should have a htaccess file normally
If not create it with the example here : https://wiki.invoiceplane.com/en/1.0/getting-started/installation

I did created it, but still i can’t fix the version issue.
Here is the contents of the .htaccess file…

## Run InvoicePlane in a subfolder
## If you are using a subfolder please remove the hash in front of the line ‘#RewriteBase /subfolder’
## and replace ‘subfolder’ with the actual name of your folder, i.e. ‘RewriteBase /invoices’

<IfModule mod_rewrite.c>

  RewriteEngine On
  #RewriteBase /subfolder
  RewriteRule ^index\.php$ - [L]
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule . /index.php [L]
  
  ## Remove the hash in front of the following two lines if you want to force HTTPS
  #RewriteCond %{HTTPS} off
  #RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R=301,L]
  
</IfModule>

Try this one as it seems you didn’t modify anything

RewriteEngine on
RewriteBase /sub-directory
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule . index.php [L]

And replace /sub-directory by a sub-directory if you’re at the root of your domain then it’s just
RewriteBase /

Then try to launch http://your-domain.com/setup/

I did it.
I also set the redirect of /setup to the root directory.

Everything seems to worked fine, but now i can’t login to invoiceplane and altough i reset the password it doesn’t work.

Do you think its got something to do with this ?

I actually don’t know if it is a password issue or if i keep getting redirected to the login page.

Please share your new full .htaccess file

Can you include some logs too ? What happens when you want to connect ?

It has duplicate lines now…

## Run InvoicePlane in a subfolder
## If you are using a subfolder please remove the hash in front of the line ‘#RewriteBase /subfolder’
## and replace ‘subfolder’ with the actual name of your folder, i.e. ‘RewriteBase /invoices’

<IfModule mod_rewrite.c>

  RewriteEngine On
  RewriteBase /
RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$
RewriteCond %{REQUEST_URI} !^/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
  RewriteRule ^index\.php$ - [L]
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$
RewriteCond %{REQUEST_URI} !^/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
  RewriteRule . /index.php [L]
  
  ## Remove the hash in front of the following two lines if you want to force HTTPS
  #RewriteCond %{HTTPS} off
  #RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R=301,L]
  
</IfModule>

Ok try to replace your full .htaccess file with

# Remove index.php
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule . index.php [L]
Redirect /setup http://your-domain.com

And try to login after

Not working :frowning:

You get a blank page ?

Have you defined correctly IP URL in index.php at the root of your directory ?
Don’t forget that your URL should contain a slash at the end ex : http://my-domain.com/

If you get a blank page then in index.php set IP_DEBUG to true and try again

Can you include your logs?

No, not a blank page. The login page, but without any error message for wrong login credentials or something.
The index.php file didn’t change, it has the correct IP_URL setting

It was working fine before the changes.

Can you go in application > logs and set chmod 777 to this folder and try to login again, normally you should have a log file who will be created and include the content of this file here

The error i keep getting numerous times is

ERROR - 2017-01-05 05:26:22 --> Severity: Notice --> unserialize(): Error at offset 36 of 85 bytes /my_path_for_invoiceplane/system/libraries/Session.php 741

ERROR - 2017-01-05 05:26:22 --> Severity: Notice --> unserialize(): Error at offset 108 of 183 bytes /my_path_for_invoiceplan/system/libraries/Session.php 741

Hmm it seems to have a problem with your sessions
How do you store it ? Files ? Database ?

When you update InvoicePlane did you save the config.php file and not use a new one ?