Not updating/saving data on pages

ATTENTION!
On clean install some pages (settings) are not updated. I tried it with and without .htacces

Sometimes ERROR ACCOUNTED

Help much appreciated !

Debug log:

DEBUG - 2018-09-04 12:21:00 --> UTF-8 Support Enabled 
DEBUG - 2018-09-04 12:21:00 --> Global POST, GET and COOKIE data sanitized 
DEBUG - 2018-09-04 12:21:00 --> Users MX_Controller Initialized 
DEBUG - 2018-09-04 12:21:00 --> Config file loaded: /home/braafhar/public_html/ip/application/config/invoice_plane.php 
DEBUG - 2018-09-04 12:21:00 --> Encryption: Auto-configured driver 'openssl'. 
DEBUG - 2018-09-04 12:21:00 --> File loaded: /home/braafhar/public_html/ip/application/modules/settings/models/Mdl_settings.php 
DEBUG - 2018-09-04 12:21:00 --> File loaded: /home/braafhar/public_html/ip/application/modules/settings/models/Mdl_versions.php 
DEBUG - 2018-09-04 12:21:00 --> File loaded: /home/braafhar/public_html/ip/application/controllers/../modules/layout/controllers/Layout.php 
DEBUG - 2018-09-04 12:21:00 --> Layout MX_Controller Initialized 
DEBUG - 2018-09-04 12:21:00 --> File loaded: /home/braafhar/public_html/ip/application/modules/users/models/Mdl_users.php 
DEBUG - 2018-09-04 12:21:00 --> File loaded: /home/braafhar/public_html/ip/application/modules/layout/views/alerts.php 
DEBUG - 2018-09-04 12:21:00 --> File loaded: /home/braafhar/public_html/ip/application/modules/users/views/index.php DEBUG - 2018-09-04 12:21:00 --> File loaded: /home/braafhar/public_html/ip/application/modules/layout/views/includes/head.php 
DEBUG - 2018-09-04 12:21:00 --> File loaded: /home/braafhar/public_html/ip/application/modules/layout/views/includes/navbar.php 
DEBUG - 2018-09-04 12:21:00 --> File loaded: /home/braafhar/public_html/ip/application/modules/layout/views/includes/fullpage-loader.php 
DEBUG - 2018-09-04 12:21:00 --> File loaded: /home/braafhar/public_html/ip/application/modules/layout/views/layout.php 
DEBUG - 2018-09-04 12:21:00 --> Total execution time: 0.0334 
DEBUG - 2018-09-04 12:22:14 --> UTF-8 Support Enabled 
DEBUG - 2018-09-04 12:22:14 --> Global POST, GET and COOKIE data sanitized



Your debug log shows nothing wrong with IP, thus, to help you we will need some more information:

  • Which version of IP are you running?
  • Do you have a cache add-on installed in your browser? if yes, could you disable it for your IP site and see if the problem gets fixed?

1.5.9

I tried Firefox latest and Chrome without addons.

I also tried PHP 5.6, 7.0, 7.1 and 7.1

Try to fix it for 12 hours but still no luck.

I believe it has to do something with rights/permission, hope you can help.

Strange is also that I sometimes get the red screen with: An Error Was Encountered

The action you have requested is not allowed. After updatind a setting in one of the settingspages, and sometimes normal screen but when I updat settings, the short message "settings saved"doesn’t show and old settings return on screen or the red screen.

Are you upgrading from a previous version or is this a fresh install? have you tried to reinstall it just in case something failed the first time?

I would discard a permissions issue because those are checked during installation and the only one that seems not to be checked is the temporary folder used by mPDF. Also, since you are able to login and use IP, I would discard too a permission problem related to the database.

Have you checked your web server log?

Miquel, I did almost everything, upgrade and did 2 fresh installs with new mysql tables and user.

No errors during install with permissions indeed, you are right.

ServerErrorLog:
2018-09-04 17:14:35.747466 [INFO] [40.77.167.89:21433] File not found [/home/braafhar/public_html/404.shtml]
2018-09-04 17:14:35.747452 [INFO] [40.77.167.89:21433] File not found [/home/braafhar/public_html/contact-us.html]
2018-09-04 16:57:40.419523 [INFO] [157.55.39.77:23566] File not found [/home/braafhar/public_html/404.shtml]
2018-09-04 16:57:40.419502 [INFO] [157.55.39.77:23566] File not found [/home/braafhar/public_html/kracht.html]
2018-09-04 16:23:38.667105 [INFO] [157.55.39.27:15648] File not found [/home/braafhar/public_html/404.shtml]
2018-09-04 16:23:38.667073 [INFO] [157.55.39.27:15648] File not found [/home/braafhar/public_html/robots.txt]

Arggh, this really driving me mad.

I can login, go to settings page, change valuta to EUR save changes, and get USD back on the screen :frowning:

Those error messages point to a problem with the server configuration or with some missing files related to another software (blog, wiki, etc.) running on your site.

The pages in the error log (404, contact_us, …) are not related to IP, so if your server is looking for them when you use IP, there must be something wrong with your server configuration.

Unless you know which web application owns those files, you should try disabling all other web applications and leave IP as your only application, and then test if it works. If it works, then you will have to re-enable all other web applications on-by-one while monitoring your server error log until you find which one is causing your troubles.

I have perhaps a none standard setting:
public_html -> redirected to website in \home
public_htm\home - > website
public_html\ip -> invoice plane

Thank for your answer. I run IP for over 2 year without a problem. This week problem started with not sending email. No changes on website (joomla without addons just clean) and ip is the only app running from \ip directory.

I tought an update would be better but with clean install and database no safe off changing setting.

Do I really have to shut down website?

It seems like https and http is mising things up… on https:// I get only a listing in IP ?

latest error log:
DEBUG - 2018-09-04 15:45:56 --> Global POST, GET and COOKIE data sanitized DEBUG - 2018-09-04 15:45:56 --> Dashboard MX_Controller Initialized DEBUG - 2018-09-04 15:45:56 --> Config file loaded: /home/braafhar/public_html/ip/application/config/invoice_plane.php DEBUG - 2018-09-04 15:45:56 --> Encryption: Auto-configured driver ‘openssl’. DEBUG - 2018-09-04 15:45:56 --> File loaded: /home/braafhar/public_html/ip/application/modules/settings/models/Mdl_settings.php DEBUG - 2018-09-04 15:45:56 --> File loaded: /home/braafhar/public_html/ip/application/modules/settings/models/Mdl_versions.php DEBUG - 2018-09-04 15:45:56 --> File loaded: /home/braafhar/public_html/ip/application/controllers/…/modules/layout/controllers/Layout.php DEBUG - 2018-09-04 15:45:56 --> Layout MX_Controller Initialized DEBUG - 2018-09-04 15:45:56 --> File loaded: /home/braafhar/public_html/ip/application/modules/invoices/models/Mdl_invoice_amounts.php DEBUG - 2018-09-04 15:45:56 --> File loaded: /home/braafhar/public_html/ip/application/modules/quotes/models/Mdl_quote_amounts.php DEBUG - 2018-09-04 15:45:56 --> File loaded: /home/braafhar/public_html/ip/application/modules/invoices/models/Mdl_invoices.php DEBUG - 2018-09-04 15:45:56 --> File loaded: /home/braafhar/public_html/ip/application/modules/quotes/models/Mdl_quotes.php DEBUG - 2018-09-04 15:45:56 --> File loaded: /home/braafhar/public_html/ip/application/modules/projects/models/Mdl_projects.php DEBUG - 2018-09-04 15:45:56 --> File loaded: /home/braafhar/public_html/ip/application/modules/tasks/models/Mdl_tasks.php DEBUG - 2018-09-04 15:45:56 --> File loaded: /home/braafhar/public_html/ip/application/modules/layout/views/alerts.php DEBUG - 2018-09-04 15:45:56 --> File loaded: /home/braafhar/public_html/ip/application/modules/dashboard/views/index.php DEBUG - 2018-09-04 15:45:56 --> File loaded: /home/braafhar/public_html/ip/application/modules/layout/views/includes/head.php DEBUG - 2018-09-04 15:45:56 --> File loaded: /home/braafhar/public_html/ip/application/modules/layout/views/includes/navbar.php DEBUG - 2018-09-04 15:45:56 --> File loaded: /home/braafhar/public_html/ip/application/modules/layout/views/includes/fullpage-loader.php DEBUG - 2018-09-04 15:45:56 --> File loaded: /home/braafhar/public_html/ip/application/modules/layout/views/layout.php DEBUG - 2018-09-04 15:45:56 --> Total execution time: 0.0406 DEBUG - 2018-09-04 15:46:21 --> UTF-8 Support Enabled DEBUG - 2018-09-04 15:46:21 --> Global POST, GET and COOKIE data sanitized DEBUG - 2018-09-04 15:46:21 --> Dashboard MX_Controller Initialized DEBUG - 2018-09-04 15:46:21 --> Config file loaded: /home/braafhar/public_html/ip/application/config/invoice_plane.php DEBUG - 2018-09-04 15:46:21 --> Encryption: Auto-configured driver ‘openssl’. DEBUG - 2018-09-04 15:46:21 --> File loaded: /home/braafhar/public_html/ip/application/modules/settings/models/Mdl_settings.php DEBUG - 2018-09-04 15:46:21 --> File loaded: /home/braafhar/public_html/ip/application/modules/settings/models/Mdl_versions.php DEBUG - 2018-09-04 15:46:21 --> File loaded: /home/braafhar/public_html/ip/application/controllers/…/modules/layout/controllers/Layout.php DEBUG - 2018-09-04 15:46:21 --> Layout MX_Controller Initialized DEBUG - 2018-09-04 15:46:21 --> File loaded: /home/braafhar/public_html/ip/application/modules/invoices/models/Mdl_invoice_amounts.php DEBUG - 2018-09-04 15:46:21 --> File loaded: /home/braafhar/public_html/ip/application/modules/quotes/models/Mdl_quote_amounts.php DEBUG - 2018-09-04 15:46:21 --> File loaded: /home/braafhar/public_html/ip/application/modules/invoices/models/Mdl_invoices.php DEBUG - 2018-09-04 15:46:21 --> File loaded: /home/braafhar/public_html/ip/application/modules/quotes/models/Mdl_quotes.php DEBUG - 2018-09-04 15:46:21 --> File loaded: /home/braafhar/public_html/ip/application/modules/projects/models/Mdl_projects.php DEBUG - 2018-09-04 15:46:21 --> File loaded: /home/braafhar/public_html/ip/application/modules/tasks/models/Mdl_tasks.php DEBUG - 2018-09-04 15:46:21 --> File loaded: /home/braafhar/public_html/ip/application/modules/layout/views/alerts.php DEBUG - 2018-09-04 15:46:21 --> File loaded: /home/braafhar/public_html/ip/application/modules/dashboard/views/index.php DEBUG - 2018-09-04 15:46:21 --> File loaded: /home/braafhar/public_html/ip/application/modules/layout/views/includes/head.php DEBUG - 2018-09-04 15:46:21 --> File loaded: /home/braafhar/public_html/ip/application/modules/layout/views/includes/navbar.php DEBUG - 2018-09-04 15:46:21 --> File loaded: /home/braafhar/public_html/ip/application/modules/layout/views/includes/fullpage-loader.php DEBUG - 2018-09-04 15:46:21 --> File loaded: /home/braafhar/public_html/ip/application/modules/layout/views/layout.php DEBUG - 2018-09-04 15:46:21 --> Total execution time: 0.0404

I am not sure to understand what you mean because it would seem that you have a loop

Are you running Apache? if you do, could you tell us more about your configuration? knowing the information below will help us to understand your setup,

  • are you using multiple virtual sites? if yes, which are the ‘DocumentRoot’ directives of your sites? (see content of files under ‘~apache/sites-enabled’)
  • which are the ‘Alias’ directives in your configuration files? (see content of files under ‘~apache/conf-enabled’)

Thank for your answer. I run IP for over 2 year without a problem. This week problem started with not sending email.

Without reason? with no changes to the web server or the whole server?

No changes on website (joomla without addons just clean) and ip is the only app running from \ip directory.

Ok, that simple setup shouldn’t cause so many headaches

I tought an update would be better but with clean install and database no safe off changing setting.

If properly done, either way should work.

Do I really have to shut down website?

No, you don’t. What I had asked was to temporarily disable all other web applications so that IP was the only application served and then test IP. If IP passed all tests, we would discard IP as the source of your problems and we could concentrate in other parts of your server.

It seems like https and http is mising things up… on https:// I get only a listing in IP ?

Running both http and https shouldn’t be a problem as long as your (virtual) hosts are correctly configured. Although, since you have https running, you should consider closing http an running a pure https server for improved security.

IP is the only one, altough 3 version. Original, Updated and a clean new installation. All with seperated mysql. I asked hosting company also but they don’t give that much of help.

Still looking for the toubles in the serverconfiguration, hard to find :frowning:

Thank you for your help.

The problem is when settings are saved. Then the red page occurs and when I refresh that page the old settings are shown. Here the permission/restrction play us part.

But that error message should appear in the log file (*) like, for instance,

ERROR - 2018-09-05 00:00:57 --> Severity: Warning --> session_start(): Cannot send session cache limiter - headers already sent /home/user/ip-v15/vendor/codeigniter/framework/system/libraries/Session/Session.php 143
ERROR - 2018-09-05 00:00:57 --> Severity: Warning --> session_destroy(): Trying to destroy uninitialized session /home/user/ip-v15/vendor/codeigniter/framework/system/libraries/Session/Session.php 702
ERROR - 2018-09-05 00:00:57 --> Severity: Warning --> Cannot modify header information - headers already sent /home/user/ip-v15/vendor/codeigniter/framework/system/helpers/url_helper.php 564

and so far you have not shown any error message.

(*) I know for sure because when debugging and/or changing IP code I see that screen from time to time, and then an error line is logged.

I wish I could show you an error message. Are you able to log in by teamviewer?

DEBUG - 2018-09-05 00:19:32 --> UTF-8 Support Enabled DEBUG - 2018-09-05 00:19:32 --> Global POST, GET and COOKIE data sanitized DEBUG - 2018-09-05 00:19:32 --> Ajax MX_Controller Initialized DEBUG - 2018-09-05 00:19:32 --> Config file loaded: /home/braafhar/public_html/facturen2018/application/config/invoice_plane.php DEBUG - 2018-09-05 00:19:32 --> Encryption: Auto-configured driver ‘openssl’. DEBUG - 2018-09-05 00:19:32 --> File loaded: /home/braafhar/public_html/facturen2018/application/modules/settings/models/Mdl_settings.php DEBUG - 2018-09-05 00:19:32 --> File loaded: /home/braafhar/public_html/facturen2018/application/modules/settings/models/Mdl_versions.php DEBUG - 2018-09-05 00:19:32 --> File loaded: /home/braafhar/public_html/facturen2018/application/controllers/…/modules/layout/controllers/Layout.php DEBUG - 2018-09-05 00:19:32 --> Layout MX_Controller Initialized DEBUG - 2018-09-05 00:19:32 --> File loaded: /home/braafhar/public_html/facturen2018/application/modules/invoices/models/Mdl_items.php DEBUG - 2018-09-05 00:19:32 --> File loaded: /home/braafhar/public_html/facturen2018/application/modules/invoices/models/Mdl_invoices.php DEBUG - 2018-09-05 00:19:32 --> File loaded: /home/braafhar/public_html/facturen2018/application/modules/units/models/Mdl_units.php DEBUG - 2018-09-05 00:19:32 --> File loaded: /home/braafhar/public_html/facturen2018/application/modules/invoices/models/Mdl_invoice_sumex.php DEBUG - 2018-09-05 00:19:32 --> File loaded: /home/braafhar/public_html/facturen2018/application/modules/invoices/models/Mdl_item_amounts.php DEBUG - 2018-09-05 00:19:32 --> File loaded: /home/braafhar/public_html/facturen2018/application/modules/invoices/models/Mdl_invoice_amounts.php DEBUG - 2018-09-05 00:19:32 --> File loaded: /home/braafhar/public_html/facturen2018/application/modules/invoices/models/Mdl_invoice_tax_rates.php DEBUG - 2018-09-05 00:19:32 --> Total execution time: 0.0445 DEBUG - 2018-09-05 00:19:34 --> UTF-8 Support Enabled DEBUG - 2018-09-05 00:19:34 --> Global POST, GET and COOKIE data sanitized DEBUG - 2018-09-05 00:19:34 --> Ajax MX_Controller Initialized DEBUG - 2018-09-05 00:19:34 --> Config file loaded: /home/braafhar/public_html/facturen2018/application/config/invoice_plane.php DEBUG - 2018-09-05 00:19:34 --> Encryption: Auto-configured driver ‘openssl’. DEBUG - 2018-09-05 00:19:34 --> File loaded: /home/braafhar/public_html/facturen2018/application/modules/settings/models/Mdl_settings.php DEBUG - 2018-09-05 00:19:34 --> File loaded: /home/braafhar/public_html/facturen2018/application/modules/settings/models/Mdl_versions.php DEBUG - 2018-09-05 00:19:34 --> File loaded: /home/braafhar/public_html/facturen2018/application/controllers/…/modules/layout/controllers/Layout.php DEBUG - 2018-09-05 00:19:34 --> Layout MX_Controller Initialized DEBUG - 2018-09-05 00:19:34 --> File loaded: /home/braafhar/public_html/facturen2018/application/modules/invoices/models/Mdl_items.php DEBUG - 2018-09-05 00:19:34 --> File loaded: /home/braafhar/public_html/facturen2018/application/modules/invoices/models/Mdl_invoices.php DEBUG - 2018-09-05 00:19:34 --> File loaded: /home/braafhar/public_html/facturen2018/application/modules/units/models/Mdl_units.php DEBUG - 2018-09-05 00:19:34 --> File loaded: /home/braafhar/public_html/facturen2018/application/modules/invoices/models/Mdl_invoice_sumex.php DEBUG - 2018-09-05 00:19:34 --> File loaded: /home/braafhar/public_html/facturen2018/application/modules/invoices/models/Mdl_item_amounts.php DEBUG - 2018-09-05 00:19:34 --> File loaded: /home/braafhar/public_html/facturen2018/application/modules/invoices/models/Mdl_invoice_amounts.php DEBUG - 2018-09-05 00:19:34 --> File loaded: /home/braafhar/public_html/facturen2018/application/modules/invoices/models/Mdl_invoice_tax_rates.php DEBUG - 2018-09-05 00:19:34 --> Total execution time: 0.0472

Please, don’t post more debug logs, they are not providing any new information and just make this thread more difficult to read.

Since this issue is apparently not related to IP but to the server configuration, I will continue the conversation using Private Messages. If later we found something about IP or the server configuration that is of interest for all users, we can post a summary of our findings.

1 Like

Problem solved by webhoster. Unfortunately not giving info about what they changed.

Thanks for all help Miquel, much appreciated!