Supporting each other

Community forums

Welcome, Guest
Username: Password: Remember me
Questions on getting Xerte Toolkits installed on your server and questions about authentication and user logins.
  • Page:
  • 1
  • 2

TOPIC:

Blank Edit Page With No Content 8 years 6 months ago #3672

  • cs1slb
  • cs1slb's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 14
  • Thank you received: 0
1) import_path was set to /home/xerte/v3.1/import
root_file_path was set to /home/xerte/v3.1
The above values related to an earlier attempt to install this product.

I have replaced the above values with: -
/var/www/html/import
/var/www/html

2) I have checked config.php and I see this setting in this file: -
$development = true;
Should this be "$developer" as per your suggestion in the forum or "$development" as per my config.php?

3)Item (3) above: yes there are login errors in the /var/log/apache2/error_log: -
root@xerte-d:/var/log/apache2# tail -f error.log
[Fri Apr 29 11:59:20.291643 2016] [:error] [pid 29324] [client 143.167.16.2:49954] PHP Warning: fopen(/var/www/htmlerror_logs/cs1slb.log): failed to open stream: No

I looks like there is a / missing between /var/www/html and error_logs etc. This looks like an incorrect configuration string that should be terminated by a /

import_path and root_file_path were updated again in the sitedetails table to include the trailin slashes thus: -

mysql> select import_path, root_file_path from sitedetails;
+
+
+
| import_path | root_file_path |
+
+
+
| /var/www/html/import/ | /var/www/html/ |
+
+
+
1 row in set (0.00 sec)

mysql>


Follwing thes changes, the Xerte Online Toolkit seemed to work correctly. Clicking Create, providing a name, and clicking Create again, produced an edit screen that was populated with tools. Attached is a screen shot.

Thank you very much for your assistance.
Attachments:

Please Inloggen or Create an account to join the conversation.

Blank Edit Page With No Content 8 years 6 months ago #3673

  • tom
  • tom's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 1286
  • Thank you received: 324
That indeed seems to fix everything! Glad it all works properly now!

Please Inloggen or Create an account to join the conversation.

Blank Edit Page With No Content 8 years 5 months ago #3799

  • cs1slb
  • cs1slb's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 14
  • Thank you received: 0
After a few weeks of attending to other matters, I have resumed work on this. It seems, as if I have gone backwards in the interval! Let me start with a screen shot: -

This window was rendered after a successful ldap login.

If I click on any of the buttons (including logout) nothing happens.

You previously asked me to check some things and I have checked them again.

Here are the locations (from sitedetails) of the import_path and root_file_path: -
mysql> select import_path, root_file_path from sitedetails;
+
+
+
| import_path | root_file_path |
+
+
+
| /var/www/html/import/ | /var/www/html/ |
+
+
+
1 row in set (0.00 sec)
mysql>

Here are the permissions of these directories: -
root@xerte-d:/var/www/html# ls -ld /var/www/html/import
drwxr-xr-x 2 www-data www-data 4096 Feb 24 14:52 /var/www/html/import
root@xerte-d:/var/www/html# ls -ld /var/www/html
drwxr-xr-x 25 www-data www-data 4096 Jun 10 15:24 /var/www/html

There is no output to: -
/var/log/xerte/xerte-debug.log
Both the log file and the containing directory are rwx to the user www-data

There is no output to:
/var/log/apache2/error.log
when I authenticate using LDAP or when I click a button.

developer is equal to true in config.php

Regards,

Stephen
Attachments:

Please Inloggen or Create an account to join the conversation.

Blank Edit Page With No Content 8 years 5 months ago #3800

  • tom
  • tom's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 1286
  • Thank you received: 324
It seems that the layout code has not run.
Some typical causes:
- mixing https and http (specifically if site_url points to http, and you try to load the page through https)
- timeout
- cache issues (so try to clean the cache)

Are there any javascript errors in the browser console (F12 in Chrome on Windows, don't know by heart what it would be on a mac)

Please Inloggen or Create an account to join the conversation.

  • Page:
  • 1
  • 2
Time to create page: 0.048 seconds
Copyright © 2024 The Xerte Project.
Xerte logo Apereo logo OSI Logo

Search