Comments (7)
Wow, that's weird. I never got this issue before and I'm unable to reproduce it.
Take a look at c_config
, looking for a field named theme_default_set
. Is it there?
In index.php this is defined on the line 202 and saved on $this->template
. Right after the "else", add the following line:
String::PR($this->template);
Does it return any value?
from addictive-community.
Hey @halojoy
Any good news? Is everything working properly?
If not, let me know!
from addictive-community.
I tried the String::PR($this->template); Right after else. But it does not show anything.
template_default_set is 'default'
It is very strange I get these issues. One thing, I run the MySQL is strict mode. But this should not be a prooblem.
I have been away for 10 days.
I suspect I have a problem. I say probably your code is good.
Because I have done install of MyBB and UseBB
and I get some error from them. Error in the initial defines.
But what can it be?
from addictive-community.
Hmm, I'll see if I run MySQL in strict mode I get this issues. And also you're getting all these "undefined variables/index" notices when calling for user groups, member IDs, etc. All these settings are defined in Main()
(index.php), that's why I said you to see what's inside $this->template
...
How is your MySQL log?
NOTE: String::PR()
is the same as print_r()
, but wrapped with <pre>
tags... ;)
from addictive-community.
this line is executed:
$this->template = $this->Session->member_info['template'];
But the value after this is NULL.
I also var_dump $this->Config. It looks to be very good. Values has been received from DB.
from addictive-community.
Solved!
I deleted first all sessions. Not any better.
I deleted all cookies in Firefox. Much better. No notices and no errors.
Can be a leftover COOKIE from previous install.
I dont think Addictive creates cookies while installation?
from addictive-community.
The Session class checks if cookies are defined, but not if cookies are empty. Of course, an empty cookie will return... empty...
As I'm unable to reproduce this, I'll just do a second step to check if the cookie member_id is >= 1 (if not Addictive Community will treat the member as a guest) and hope that it works out.
from addictive-community.
Related Issues (20)
- Update Software version to v0.11.0 HOT 1
- Addictive Community's UI/SCSS is confuse and too complex HOT 3
- Add Kernel modules and controllers to namespaces + autoloader
- Fallback language
- Migrate from MyISAM since MySQL 5.6 supports FULLTEXT for InnoDB
- apache_get_modules() HOT 3
- Subforums? HOT 1
- Better transliteration support for non-Latin characters HOT 1
- Add profile cover image
- Nginx Support
- bug with Cyrillic HOT 4
- Other reported errors
- can i use for our personal agenda? HOT 1
- problem during creating new thread HOT 5
- ToDo List HOT 5
- Error HOT 1
- Facing the translation problem HOT 9
- Translate Addictive Community using our new i18n tool! HOT 18
- Standardize date/time fields in the database HOT 2
- MySQLi is supported. Any plans on other databases? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from addictive-community.