Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Sign In
Not a member yet? Click here to register.

System Administration - 9

Questions about 9´s Banners, Database Backups, Email templates, Error Logs, Panels, PHP Info, robots.txt, Site Links, Smileys and Theme Manager
304 posts | Last Activity on 05-07-2020 18:26 by Grimloch
Grimloch
Grimloch 05-07-2020 18:26, 1 month ago
Re: Need Help With Errors Thanks for taking a look; I can't see any defines that are wrong or not in place either. I guess I'll just keep tracking it and maybe eventually a valid error will happen that I can interpret.
Falk
Falk 05-07-2020 17:47, 1 month ago
Re: Need Help With Errors There is not enough data in there to make full sense of it. Something might not be defined or something in the query is wrong is all I can see.
Grimloch
Grimloch 04-07-2020 18:27, 1 month ago
Re: Need Help With Errors This is in relation to a website running 9.03.50 that I help maintain for a friend. Whenever I send out a newsletter from my Newsletters Infusion the emails get delivered just fine however, I am presented with a series of errors that I can't decipher. Here is the error info:
Code
Notice: Query Error: SELECT error_id, error_status FROM ph_errors WHERE error_file = :file AND error_line = :line AND error_status != '1' AND error_page = :page ORDER BY error_timestamp DESC LIMIT 1
Stack Trace: #0 /home/elgheko/domains/elgheko.us/public_html/includes/classes/PHPFusion/Database/Driver/PDOMySQL.inc(67): PDOStatement->execute() #1 /home/elgheko/domains/elgheko.us/public_html/includes/classes/PHPFusion/Database/AbstractDatabaseDriver.inc(312): PHPFusion\Database\Driver\PDOMySQL->_query('SELECT error_id...', Array) #2 /home/elgheko/domains/elgheko.us/public_html/includes/classes/PHPFusion/Errors.inc(139): PHPFusion\Database\AbstractDatabaseDriver->query('SELECT error_id...', Array) #3 /home/elgheko/domains/elgheko.us/public_html/includes/error_handling_include.php(38): PHPFusion\Errors->setError(1024, 'Query Error: SE...', '/home/elgheko/d...', 71, Array) #4 [internal function]: setError(1024, 'Query Error: SE...', '/home/elgheko/d...', 71, Array) #5 /home/elgheko/domains/elgh in /home/elgheko/domains/elgheko.us/public_html/includes/classes/PHPFusion/Database/Driver/PDOMySQL.inc on line 71

Notice: Query Error: INSERT INTO ph_errors ( error_level, error_message, error_file, error_line, error_page, error_user_level, error_user_ip, error_user_ip_type, error_status, error_timestamp ) VALUES ( :level, :message, :file, :line, :page, '-102', '138.229.172.181', '4', '0', '1593879689' )
Stack Trace: #0 /home/elgheko/domains/elgheko.us/public_html/includes/classes/PHPFusion/Database/Driver/PDOMySQL.inc(67): PDOStatement->execute() #1 /home/elgheko/domains/elgheko.us/public_html/includes/classes/PHPFusion/Database/AbstractDatabaseDriver.inc(312): PHPFusion\Database\Driver\PDOMySQL->_query('INSERT INTO ph_...', Array) #2 /home/elgheko/domains/elgheko.us/public_html/includes/classes/PHPFusion/Errors.inc(156): PHPFusion\Database\AbstractDatabaseDriver->query('INSERT INTO ph_...', Array) #3 /home/elgheko/domains/elgheko.us/public_html/includes/error_handling_include.php(38): PHPFusion\Errors->setError(1024, 'Qu in /home/elgheko/domains/elgheko.us/public_html/includes/classes/PHPFusion/Database/Driver/PDOMySQL.inc on line 71

Notice: Query Error: SELECT error_id, error_status FROM ph_errors WHERE error_file = :file AND error_line = :line AND error_status != '1' AND error_page = :page ORDER BY error_timestamp DESC LIMIT 1
Stack Trace: #0 /home/elgheko/domains/elgheko.us/public_html/includes/classes/PHPFusion/Database/Driver/PDOMySQL.inc(67): PDOStatement->execute() #1 /home/elgheko/domains/elgheko.us/public_html/includes/classes/PHPFusion/Database/AbstractDatabaseDriver.inc(312): PHPFusion\Database\Driver\PDOMySQL->_query('SELECT error_id...', Array) #2 /home/elgheko/domains/elgheko.us/public_html/includes/classes/PHPFusion/Errors.inc(139): PHPFusion\Database\AbstractDatabaseDriver->query('SELECT error_id...', Array) #3 /home/elgheko/domains/elgheko.us/public_html/includes/error_handling_include.php(38): PHPFusion\Errors->setError(1024, 'Query Error: SE...', '/home/elgheko/d...', 71, Array) #4 [internal function]: setError(1024, 'Query Error: SE...', '/home/elgheko/d...', 71, Array) #5 /home/elgheko/domains/elgh in /home/elgheko/domains/elgheko.us/public_html/includes/classes/PHPFusion/Database/Driver/PDOMySQL.inc on line 71

Notice: Query Error: INSERT INTO ph_errors ( error_level, error_message, error_file, error_line, error_page, error_user_level, error_user_ip, error_user_ip_type, error_status, error_timestamp ) VALUES ( :level, :message, :file, :line, :page, '-102', '138.229.172.181', '4', '0', '1593879689' )
Stack Trace: #0 /home/elgheko/domains/elgheko.us/public_html/includes/classes/PHPFusion/Database/Driver/PDOMySQL.inc(67): PDOStatement->execute() #1 /home/elgheko/domains/elgheko.us/public_html/includes/classes/PHPFusion/Database/AbstractDatabaseDriver.inc(312): PHPFusion\Database\Driver\PDOMySQL->_query('INSERT INTO ph_...', Array) #2 /home/elgheko/domains/elgheko.us/public_html/includes/classes/PHPFusion/Errors.inc(156): PHPFusion\Database\AbstractDatabaseDriver->query('INSERT INTO ph_...', Array) #3 /home/elgheko/domains/elgheko.us/public_html/includes/error_handling_include.php(38): PHPFusion\Errors->setError(1024, 'Qu in /home/elgheko/domains/elgheko.us/public_html/includes/classes/PHPFusion/Database/Driver/PDOMySQL.inc on line 71


At this point I don't know where to go for an answer so I'm hoping that something may be obvious to a more experienced coder.
Grimloch
Grimloch 19-06-2020 16:10, 2 months ago
Re: Change ver9 Admin Password timeout duration How? Thanks guys; I found it.
smile
Kvido
Kvido 19-06-2020 15:47, 2 months ago
Re: Change ver9 Admin Password timeout duration How? Is it here?
line 99:
Code

if (($user['user_status'] == 3 && $user['user_actiontime'] < time()) || $user['user_status'] == 7) {
 dbquery("UPDATE ".DB_USERS." SET user_status='0', user_actiontime='0' WHERE user_id='".$user['user_id']."'");
 

douwe_yntema
douwe_yntema 19-06-2020 09:29, 2 months ago
Re: Change ver9 Admin Password timeout duration How? Has to be somewhere in /includes/classes/phpfusion/authenticate.inc.

Search for $cookieExpiration
Grimloch
Grimloch 19-06-2020 06:33, 2 months ago
Re: Change ver9 Admin Password timeout duration How? Does no one else have any input on this?
Grimloch
Grimloch 18-06-2020 14:16, 2 months ago
Re: Change ver9 Admin Password timeout duration How? Whatever you want to call it RobiNN... when you login to the Admin Panel the first time you have to enter your admin password. Depending on what you are doing in the admin section and the length of time you are there, sometimes you are required to re-enter your admin password. Whether that is cookie control or session control I'm not sure but I am sure that I saw a post somewhere in these forums that address increasing a time increment somewhere that will change that to a more reasonable length of time.
RobiNN
RobiNN 18-06-2020 13:16, 2 months ago
Re: Change ver9 Admin Password timeout duration How? Timeout? We do not have this in the administration. Only users have to wait a few seconds before subimt. This time can change in Security Settings -> Flood interval
Grimloch
Grimloch 16-06-2020 15:46, 2 months ago
Re: Change ver9 Admin Password timeout duration How? I saw a post about this somewhere but can't find it now. It is REALLY bothersome to be doing an edit in the admin panel on ver9 and have to re-enter admin password after hitting Submit on your edit. You lose everything and have to start over. How can I change the timeout duration on 9.03.50?

Edit: I know that it can be extended because I remember that from the other post that I cannot find.
F
ficusucis 03-06-2020 13:59, 2 months ago
Re: News submission review error? All right, I got it.
For some reason I had no News category in Admin panel under Content. The News Infusion was active.
After turning out and turning back on the News infusion, the News cat. was there where it supposed to be.
And submission works also well.
Thank you for your time, Falk!
Falk
Falk 30-05-2020 17:43, 2 months ago
Re: News submission review error? Do you have an error log of the issue at hand?, I tried on a clean install with no issues.
You can try to clear the cache or even a new browser to be clean from old left-overs and see what happens.
F
ficusucis 29-05-2020 11:19, 2 months ago
Re: News submission review error? Just upgraded from 7.02.07 to 9.03.50.
If I want to review a News submission, it drops me back to home.php without any error message.
It's on every theme. Maybe someone has the same problem...
Thank you.
C
Chan 20-05-2020 06:53, 3 months ago
Re: V9 blog categories errors Looks like a viewer problem. Have a look at ci-Blog files (https://github.com/php-fusion/ci-Blog) and run a diff (line to line comparison) to see if you have it differently.
E
egecanince 20-05-2020 02:53, 3 months ago
Re: V9 blog categories errors When you make categories for the blog system. They do not show up when you make a blog in the drop down box to the left. The only thing that shows up is uncategorized and not the others. (language selection was made correctly)
Grimloch
Grimloch 13-04-2020 21:49, 4 months ago
Re: Errors 9.03.50 In 'includes/dynamics/includes/form_geomap.php The usergeo userfield is not even installed if that's what you mean.
Falk
Falk 13-04-2020 19:47, 4 months ago
Re: Errors 9.03.50 In 'includes/dynamics/includes/form_geomap.php yes. what I mean is it default for all or just sometimes.
Grimloch
Grimloch 13-04-2020 13:29, 4 months ago
Re: Errors 9.03.50 In 'includes/dynamics/includes/form_geomap.php

Quote

On all members or just certain locations?

I don't follow; do you mean all site members?
Falk
Falk 13-04-2020 12:49, 4 months ago
Re: Errors 9.03.50 In 'includes/dynamics/includes/form_geomap.php On all members or just certain locations?
Grimloch
Grimloch 11-04-2020 22:42, 4 months ago
Re: Errors 9.03.50 In 'includes/dynamics/includes/form_geomap.php I keep getting these errors; offset 0 thru offset 5. Only offset 0 shown here.

Code
Undefined offset: 0
Line: 97 File -- dynamics/includes/form_geomap.php
On Page -- /administration/members.php?aid=ee5669130f4954e5&ref=edit&lookup=8
Generated by User-Level: -102 -- IP: xx.xx.xxx.xxx
on April 11 2020 14:33:19


Source code (Line: 87 - 107)
87     }
88     }
89    
90     $html = "
 '').$error_class.$options['class']."' >\n";
91     $html .= ($label) ? "\n" : '';
94     $html .= $options['inline'] ? "
\n" : '';
95     $html .= "
\n";
96     $html .= "
\n";
97     $html .= "  placeholder='".$locale['street1'].($options['required'] ? "  *" : '')."'".($options['deactivate'] ? "
 readonly" : '')." ".($options['required'] ? 'required="required"' : '')." />\n";

 Line 97 -- 60 minutes ago
Undefined offset: 0
98     $html .= (($options['required'] == 1 && \defender::inputHasError($input_name.'-'.$validation_key[0])) ||
 \defender::inputHasError($input_name.'-'.$validation_key[0])) ? "
".$options['error_text']."
" : "";
99     $html .= "
\n";
100    
101     $html .= "
\n";
102     // Street 2 is not needed even on required.
103     $html .= "  placeholder='".$locale['street2']."'".($options['deactivate'] ? " readonly" : '')." />";
104     $html .= "
\n";
105    
106     $html .= "
\n";
107     $html .= "