HO
Asked
Hi , for days now I am trying to get past the final install page. I will not get the login form.
Installion went smooth on a clean server, but after install there is the 500 error.
Made new install several times after deleting index,htaccess,jason files and app and install folders.
Everytime same error.
Then made an install om my "localhost" also with the same outcome.
Please can you produce instructions on what to change in the app/config file and if necessary other files as well.
Thank you
Installion went smooth on a clean server, but after install there is the 500 error.
Made new install several times after deleting index,htaccess,jason files and app and install folders.
Everytime same error.
Then made an install om my "localhost" also with the same outcome.
Please can you produce instructions on what to change in the app/config file and if necessary other files as well.
Thank you
- MSAnsweredHello,
Are those private? Please let me know the admin account details in private reply.
*You can post private reply by enabling the `PRIVATE for Staff only` at top right of the reply section.*
Thank you - HOAnsweredI checked the errorlog and the last one was from 2020-06-05
then I fiddled with the comma on line 67 and the site didn't work at all.
Then put the comma back and the site worked as before but now with a different error 2020-06-08.
I also compared the hybridauth.php file which is in use, with the same file from an earlier download of the script, but they are identical.
Further, the content of the forum is still just for testing so I can easily delete the threads if necessary.
ERROR - 2020-06-08 09:42:59 --> Severity: error --> Exception: syntax error, unexpected '"debug_mode"' (T_CONSTANT_ENCAPSED_STRING), expecting ')' /NAS1/vhosts/JZ2037/verygood.pt/public_www/app/config/hybridauthlib.php 69
ERROR - 2020-06-08 09:42:59 --> Severity: error --> Exception: syntax error, unexpected '"debug_mode"' (T_CONSTANT_ENCAPSED_STRING), expecting ')' /NAS1/vhosts/JZ2037/verygood.pt/public_www/app/config/hybridauthlib.php 69
ERROR - 2020-06-08 09:43:03 --> Severity: error --> Exception: syntax error, unexpected '"debug_mode"' (T_CONSTANT_ENCAPSED_STRING), expecting ')' /NAS1/vhosts/JZ2037/verygood.pt/public_www/app/config/hybridauthlib.php 69
ERROR - 2020-06-05 12:38:59 --> Severity: error --> Exception: syntax error, unexpected ',' /NAS1/vhosts/JZ2037/verygood.pt/public_www/app/config/hybridauthlib.php 67
ERROR - 2020-06-05 12:39:01 --> Severity: error --> Exception: syntax error, unexpected ',' /NAS1/vhosts/JZ2037/verygood.pt/public_www/app/config/hybridauthlib.php 67
ERROR - 2020-06-05 12:39:14 --> Severity: error --> Exception: syntax error, unexpected ',' /NAS1/vhosts/JZ2037/verygood.pt/public_www/app/config/hybridauthlib.php 67 - MSAnsweredCan you please post the contents of the `app/config/hybridauthlib.php` in private reply. If you can let me know the server details, I will try to check. Thank you
- HOAnsweredHi, I noticed the following:
I made another thread ( the second) to the category Bridgeclub. And now that category does show the threads when you click on it.
The ones with only one thread do not show, and the ones with zero threads don't show either. (Duhh!)
Maybe here is the clue to the issue. - MSAnsweredHello,
It's quite strange. The database looks fine and the query is working too
```sql
SELECT
`tec_topics`.*,
`tec_categories`.`name` AS `category`,
`subcategories`.`name` AS `child_category`,
`tec_users`.`id` AS `user_id`,
`tec_users`.`username`,
`tec_users`.`avatar`,
`tec_users`.`gender` AS `user_gender`,
`tec_posts`.`body`,
COUNT(tec_posts.id) AS total_posts
FROM
`tec_topics`
LEFT JOIN `tec_posts` ON `tec_posts`.`topic_id` = `tec_topics`.`id`
LEFT JOIN `tec_categories` ON `tec_categories`.`id` = `tec_topics`.`category_id`
LEFT JOIN `tec_categories` `subcategories` ON
`subcategories`.`id` = `tec_topics`.`child_category_id`
LEFT JOIN `tec_users` ON `tec_users`.`id` = `tec_topics`.`created_by`
WHERE
`tec_categories`.`active` = 1 AND `protected` = 0 AND `tec_topics`.`status` = 1 AND `tec_topics`.`category_id` = '3'
GROUP BY
`tec_posts`.`topic_id`
ORDER BY
`sticky_category` DESC, `sticky` DESC, `tec_posts`.`created_at` DESC
LIMIT 10
```
Are you using any cache/optimisation plugins that is caching the results? - HOAnsweredNo I am not using any funny plugins.
For me it's not a big issue if I can solve it by adding two threads per category. I may install the whole thing again and maybe it's ok , who knows. Thanks anyway - HOAnsweredHi, just another question. What type of ad can I enable in the right sidebar. ? When I put in some html and enable it, I lose my avatars and logo. after disable they are back again.
- MSAnsweredHello,
You can have html and js based ads. You can post the ad code here so that I can check. It might be braking the javascript code. Errors in console could be helpful.
Thank you - HOAnsweredProblem solved.,
There was a "style" attribute in the code which messed up the whole thing. After removing "style" all worked well.
Thank you. - HOAnsweredHi, Just found an issue with regard to the not showing a thread when there is only one thread in a category. I said it would be not a big deal afterall, just add one more thread and it is OK.
But now I have eleven threads and when you open the page it shows 10 threads out of 11 on page one and when you go to page two, it says again no threads to show. As this situation will return every 10 threads, it should be good to find the cause. Hope you can, I'll look for it too.
Thank you. - Login to Reply