Advertisement:

Author Topic: Breeze  (Read 93766 times)

Offline Suki

  • Carthago delenda est
  • Developer
  • SMF Super Hero
  • *
  • Posts: 16,172
  • Oh, wouldn't it be great if I *was* crazy?
    • MissAllSunday on GitHub
    • SMF mods
Re: Breeze
« Reply #300 on: June 18, 2021, 11:26:46 AM »
Sorry for the late reply, that file appears to have a weird line count, adding multiple empty new lines, this is mostly caused by text editors opening php files, please use a code editor such as notepad++ for handling php files.

There is indeed a bug for new PHP versions, will try to release a fix for it shortly.
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

Making tough decisions, so you don't have to.

Offline Suki

  • Carthago delenda est
  • Developer
  • SMF Super Hero
  • *
  • Posts: 16,172
  • Oh, wouldn't it be great if I *was* crazy?
    • MissAllSunday on GitHub
    • SMF mods
Re: Breeze
« Reply #301 on: June 20, 2021, 02:12:28 PM »
New version has been released: https://github.com/MissAllSunday/Breeze/releases/tag/v1.0.15

To update uninstall and install using the package manager.
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

Making tough decisions, so you don't have to.

Offline Shades.

  • Full Member
  • ***
  • Posts: 578
  • Gender: Male
  • BikerHound.com
    • bikerhound on Facebook
    • @bikerhoundcom on Twitter
    • Bikerhound.com
Re: Breeze
« Reply #302 on: June 20, 2021, 05:40:46 PM »
New version has been released: https://github.com/MissAllSunday/Breeze/releases/tag/v1.0.15

To update uninstall and install using the package manager.
Working good! Thanks! 8)

BikerHound.com
Sniffing out the road ahead
https://bikerhound.com

Dream as if you'll live forever; Live as if you'll die today. - James Dean

Offline Shades.

  • Full Member
  • ***
  • Posts: 578
  • Gender: Male
  • BikerHound.com
    • bikerhound on Facebook
    • @bikerhoundcom on Twitter
    • Bikerhound.com
Re: Breeze
« Reply #303 on: June 22, 2021, 08:34:58 AM »
Found another small issue. When logged in as a regular member, I click on the admin profile/wall and get this error:

1rst time clicked:
Quote
An Error Has Occurred!
The database value you're trying to insert does not exist: users

2nd time clicked:
Quote
An Error Has Occurred!
Cannot use string offset as an array

Here are the Admin error logs:

Quote
https://mysite.com/index.php?action=profile;u=1
Cannot use string offset as an array

#0 /index.php(134): fatal_error(string, string)
#1 {closure}(Error)
#2 {main}

Quote
https://mysite.com/index.php?action=profile;u=1
The database value you're trying to insert does not exist: users
Function: loadMemberDataApply
File: /xxxxx/xxxxx/mysite.com/Sources/Load.php
Line: 1109

#0 /Sources/Subs-Db-mysql.php(873): error_backtrace(string, string, integer, string, integer)
#1 replacement__callback(array)
#2 /Sources/Subs-Db-mysql.php(1084): preg_replace_callback(string, array, string)
#3 /Sources/Load.php(1109): query(string, string, array)
#4 /Sources/Breeze/BreezeTools.php(286): loadMemberData(array, boolean, string)
#5 /Sources/Breeze/BreezeUser.php(725): loadUserInfo(array)
#6 /Sources/Breeze/BreezeUser.php(121): breezeTrackViews()
#7 /Sources/Profile.php(731): breezeWall(string)
#8 /index.php(185): ModifyProfile()
#9 {main}

Quote
https://mysite.com/index.php?action=profile;u=1
2: array_keys() expects parameter 1 to be array, string given
File: /xxxxx/xxxxx/mysite.com/Sources/Breeze/BreezeUser.php
Line: 725

#0 /Sources/Breeze/BreezeUser.php(725): array_keys(string)
#1 /Sources/Breeze/BreezeUser.php(121): breezeTrackViews()
#2 /Sources/Profile.php(731): breezeWall(string)
#3 /index.php(185): ModifyProfile()
#4 {main}

Quote
https://mysite.com/index.php?action=profile;u=1
8: Array to string conversion
File: /xxxxx/xxxxx/mysite.com/Sources/Breeze/BreezeUser.php
Line: 710

#0 /Sources/Breeze/BreezeUser.php(121): breezeTrackViews()
#1 /Sources/Profile.php(731): breezeWall(string)
#2 /index.php(185): ModifyProfile()
#3 {main}
« Last Edit: June 22, 2021, 08:46:10 AM by Shades. »

BikerHound.com
Sniffing out the road ahead
https://bikerhound.com

Dream as if you'll live forever; Live as if you'll die today. - James Dean

Offline Shades.

  • Full Member
  • ***
  • Posts: 578
  • Gender: Male
  • BikerHound.com
    • bikerhound on Facebook
    • @bikerhoundcom on Twitter
    • Bikerhound.com
Re: Breeze
« Reply #304 on: June 22, 2021, 08:45:30 AM »
Actually just tested again and after turning on the wall in each members profile settings, member to member gets the same errors as above when viewing other members profile/wall.

Logged in as admin, I can see and comment on every member profile/wall but not when logged in as a regular member.

BikerHound.com
Sniffing out the road ahead
https://bikerhound.com

Dream as if you'll live forever; Live as if you'll die today. - James Dean

Offline Suki

  • Carthago delenda est
  • Developer
  • SMF Super Hero
  • *
  • Posts: 16,172
  • Oh, wouldn't it be great if I *was* crazy?
    • MissAllSunday on GitHub
    • SMF mods
Re: Breeze
« Reply #305 on: June 28, 2021, 11:56:16 AM »
Thank you for your testing, right now I'm somehow busy but will get back to this as soon as I can.

If you are familiar with github it will help me greatly if you can log those issues if not thats ok, thank you agian for the testing done so far, greatly appreciate it.
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

Making tough decisions, so you don't have to.

Offline Shades.

  • Full Member
  • ***
  • Posts: 578
  • Gender: Male
  • BikerHound.com
    • bikerhound on Facebook
    • @bikerhoundcom on Twitter
    • Bikerhound.com
Re: Breeze
« Reply #306 on: June 29, 2021, 11:26:21 PM »
Thank you for your testing, right now I'm somehow busy but will get back to this as soon as I can.

If you are familiar with github it will help me greatly if you can log those issues if not thats ok, thank you agian for the testing done so far, greatly appreciate it.

NP & Done! 8)

BikerHound.com
Sniffing out the road ahead
https://bikerhound.com

Dream as if you'll live forever; Live as if you'll die today. - James Dean

Offline Suki

  • Carthago delenda est
  • Developer
  • SMF Super Hero
  • *
  • Posts: 16,172
  • Oh, wouldn't it be great if I *was* crazy?
    • MissAllSunday on GitHub
    • SMF mods
Re: Breeze
« Reply #307 on: July 21, 2021, 06:23:24 PM »
Hi Shades. Can you please give it a try to this beta package and see if it fixes the issues?
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

Making tough decisions, so you don't have to.

Offline Shades.

  • Full Member
  • ***
  • Posts: 578
  • Gender: Male
  • BikerHound.com
    • bikerhound on Facebook
    • @bikerhoundcom on Twitter
    • Bikerhound.com
Re: Breeze
« Reply #308 on: July 21, 2021, 10:48:01 PM »
Hi Shades. Can you please give it a try to this beta package and see if it fixes the issues?
Hi Suki,

After enabling it in admin and also in my profile (as Admin) I get this error when going to my wall:

Quote
An Error Has Occurred!
The database value you're trying to insert does not exist: users

Admin Error Logs:
Quote
httxx://*****.com/index.php?action=profile;area=summary;u=1
The database value you're trying to insert does not exist: users
Function: loadMemberData
File: /home2/*****/*****.com/Sources/Load.php
Line: 1109

#0 /Sources/Subs-Db-mysql.php(873): error_backtrace(string, string, integer, string, integer)
#1 replacement__callback(array)
#2 /Sources/Subs-Db-mysql.php(1084): preg_replace_callback(string, array, string)
#3 /Sources/Load.php(1109): query(string, string, array)
#4 /Sources/Breeze/BreezeTools.php(286): loadMemberData(array, boolean, string)
#5 /Sources/Breeze/BreezeUser.php(716): loadUserInfo(array)
#6 /Sources/Breeze/BreezeUser.php(122): breezeGetProfileViews()
#7 /Sources/Profile.php(731): breezeWall(string)
#8 /index.php(185): ModifyProfile()
#9 {main}

Quote
httxx://*****.com/index.php?action=profile;area=summary;u=1
2: array_keys() expects parameter 1 to be array, null given
File: /home2/*****/*****.com/Sources/Breeze/BreezeUser.php
Line: 716

#0 /Sources/Breeze/BreezeUser.php(716): array_keys(NULL)
#1 /Sources/Breeze/BreezeUser.php(122): breezeGetProfileViews()
#2 /Sources/Profile.php(731): breezeWall(string)
#3 /index.php(185): ModifyProfile()
#4 {main}

BikerHound.com
Sniffing out the road ahead
https://bikerhound.com

Dream as if you'll live forever; Live as if you'll die today. - James Dean

Offline Shades.

  • Full Member
  • ***
  • Posts: 578
  • Gender: Male
  • BikerHound.com
    • bikerhound on Facebook
    • @bikerhoundcom on Twitter
    • Bikerhound.com
Re: Breeze
« Reply #309 on: July 21, 2021, 10:57:13 PM »
Logged in as a regular member and viewing my own profile without enabling my wall everything works fine but when I enable it in my profile i get this error when viewing the admins profile:
Quote
An Error Has Occurred!
Cannot use object of type stdClass as array

and this error when viewing my own profile (regular member):
Quote
An Error Has Occurred!
The database value you're trying to insert does not exist: users

BikerHound.com
Sniffing out the road ahead
https://bikerhound.com

Dream as if you'll live forever; Live as if you'll die today. - James Dean

Offline Suki

  • Carthago delenda est
  • Developer
  • SMF Super Hero
  • *
  • Posts: 16,172
  • Oh, wouldn't it be great if I *was* crazy?
    • MissAllSunday on GitHub
    • SMF mods
Re: Breeze
« Reply #310 on: July 22, 2021, 10:03:34 AM »
Thanks!  can you share whats the value in your breeze_profile_views column for your admin account?
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

Making tough decisions, so you don't have to.

Offline Shades.

  • Full Member
  • ***
  • Posts: 578
  • Gender: Male
  • BikerHound.com
    • bikerhound on Facebook
    • @bikerhoundcom on Twitter
    • Bikerhound.com
Re: Breeze
« Reply #311 on: July 22, 2021, 10:27:59 AM »
Thanks!  can you share whats the value in your breeze_profile_views column for your admin account?
Where or how do I find that? Didn't see it in phpadmin!

BikerHound.com
Sniffing out the road ahead
https://bikerhound.com

Dream as if you'll live forever; Live as if you'll die today. - James Dean

Offline Suki

  • Carthago delenda est
  • Developer
  • SMF Super Hero
  • *
  • Posts: 16,172
  • Oh, wouldn't it be great if I *was* crazy?
    • MissAllSunday on GitHub
    • SMF mods
Re: Breeze
« Reply #312 on: July 22, 2021, 10:45:25 AM »
If you are using phpMyAdmin then go to your members table, there look for the admin account, usually the first one and take a look at the columns, the breeze_profile_views should be the last of one of the last columns, or use this query:

Code: [Select]
SELECT breeze_profile_views
FROM your_table_name
WHERE id_member = your_admin_id

replace the your_table_name and your_admin_id with the correct values.
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

Making tough decisions, so you don't have to.

Offline Shades.

  • Full Member
  • ***
  • Posts: 578
  • Gender: Male
  • BikerHound.com
    • bikerhound on Facebook
    • @bikerhoundcom on Twitter
    • Bikerhound.com
Re: Breeze
« Reply #313 on: July 22, 2021, 01:45:12 PM »
Looks like it didn't even create that table for some reason!?

BikerHound.com
Sniffing out the road ahead
https://bikerhound.com

Dream as if you'll live forever; Live as if you'll die today. - James Dean

Offline Suki

  • Carthago delenda est
  • Developer
  • SMF Super Hero
  • *
  • Posts: 16,172
  • Oh, wouldn't it be great if I *was* crazy?
    • MissAllSunday on GitHub
    • SMF mods
Re: Breeze
« Reply #314 on: July 22, 2021, 01:50:02 PM »
Its not really a table but a column inside your members table, what was the result of the query?
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

Making tough decisions, so you don't have to.

Offline Shades.

  • Full Member
  • ***
  • Posts: 578
  • Gender: Male
  • BikerHound.com
    • bikerhound on Facebook
    • @bikerhoundcom on Twitter
    • Bikerhound.com
Re: Breeze
« Reply #315 on: July 22, 2021, 02:01:32 PM »
Yeah the column I meant is not there so I installed this mod on a fresh fresh install and got all of the same errors.

It did create the column this time but the value is blank.

BikerHound.com
Sniffing out the road ahead
https://bikerhound.com

Dream as if you'll live forever; Live as if you'll die today. - James Dean

Offline Suki

  • Carthago delenda est
  • Developer
  • SMF Super Hero
  • *
  • Posts: 16,172
  • Oh, wouldn't it be great if I *was* crazy?
    • MissAllSunday on GitHub
    • SMF mods
Re: Breeze
« Reply #316 on: July 22, 2021, 02:17:26 PM »
OK, can you try this one.
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

Making tough decisions, so you don't have to.

Offline Shades.

  • Full Member
  • ***
  • Posts: 578
  • Gender: Male
  • BikerHound.com
    • bikerhound on Facebook
    • @bikerhoundcom on Twitter
    • Bikerhound.com
Re: Breeze
« Reply #317 on: July 22, 2021, 03:10:41 PM »
Works good now when viewing my own profile but when viewing another members wall i get:
Quote
https://*****.com/index.php?action=profile;area=summary;u=2
Cannot use object of type stdClass as array

#0 /index.php(134): fatal_error(string, string)
#1 {closure}(Error)
#2 {main}

BikerHound.com
Sniffing out the road ahead
https://bikerhound.com

Dream as if you'll live forever; Live as if you'll die today. - James Dean

Offline Shades.

  • Full Member
  • ***
  • Posts: 578
  • Gender: Male
  • BikerHound.com
    • bikerhound on Facebook
    • @bikerhoundcom on Twitter
    • Bikerhound.com
Re: Breeze
« Reply #318 on: July 22, 2021, 03:17:35 PM »
There are now values in the column breeze_profile_view....

Admin {"2":
Member1 {"user":"2","last_view":1626980986,"views":1}...

BikerHound.com
Sniffing out the road ahead
https://bikerhound.com

Dream as if you'll live forever; Live as if you'll die today. - James Dean

Offline Suki

  • Carthago delenda est
  • Developer
  • SMF Super Hero
  • *
  • Posts: 16,172
  • Oh, wouldn't it be great if I *was* crazy?
    • MissAllSunday on GitHub
    • SMF mods
Re: Breeze
« Reply #319 on: July 22, 2021, 04:07:30 PM »
Cool, thats the expected behaviour, is there any other error in your error log?
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

Making tough decisions, so you don't have to.