News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

I'm trying to add new section under a category...it gives me error

Started by İerdogan, December 29, 2017, 07:11:04 AM

Previous topic - Next topic

İerdogan

I'm trying to add new section under a category...it gives me error

I can create section with this error I cant't write section description and edit permissions

before it was working properly....
Paylaşmak Güzeldir.  Sharing İs Beautiful. 
http://www.eitasarim.com/forum [nofollow]

Aleksi "Lex" Kilpinen

Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

İerdogan

Paylaşmak Güzeldir.  Sharing İs Beautiful. 
http://www.eitasarim.com/forum [nofollow]

Aleksi "Lex" Kilpinen

Ok, I was almost right.

Replace Board Title With Image

That one is probably at fault, perhaps the installation was not perfect?
Did you get any errors while installing it?
Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

İerdogan

I don't remember Iget errors when I install

Do you prefer I must uninstall this mod.
Paylaşmak Güzeldir.  Sharing İs Beautiful. 
http://www.eitasarim.com/forum [nofollow]

Aleksi "Lex" Kilpinen

I'm not sure, as I don't know the mod very well. Do you get any errors in your log that could provide further clues?
You might also get better answers if you asked in the mod's own support topic at https://www.simplemachines.org/community/index.php?topic=557429.0
Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

İerdogan

Paylaşmak Güzeldir.  Sharing İs Beautiful. 
http://www.eitasarim.com/forum [nofollow]

İerdogan

If you want.. I can give u a user. Thus You can check my board.
Paylaşmak Güzeldir.  Sharing İs Beautiful. 
http://www.eitasarim.com/forum [nofollow]

Aleksi "Lex" Kilpinen

Actually, after you installed that mod - have you used it? Done any edits to the boards? Did it work - or was this the first time you tried it?
Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

İerdogan

I installed some mods ... I didnt activate when I saw an error. I replaced a site logo to my board. I didn't make edit to my board (to Code Side)

I'm again asking... I can send a user has administrative rights... You can check the board! I don't know this is a good offer due to forum rules
Paylaşmak Güzeldir.  Sharing İs Beautiful. 
http://www.eitasarim.com/forum [nofollow]

Aleksi "Lex" Kilpinen

I can take a look if you want, but I suggest you create a temporary admin account for that purpose, and do not share your own login.

A reminder about admin / ftp passwords...
Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

İerdogan

I believe you. If you do a wrong to my board. You lost... You become a bad... But I still good. God see all of us...

I believe YOU! really...
Isent your user... look your messages...
Paylaşmak Güzeldir.  Sharing İs Beautiful. 
http://www.eitasarim.com/forum [nofollow]

Aleksi "Lex" Kilpinen

I uninstalled the mod. It is bugged.

You can either remove it completely, or reinstall it and fix this part in Sources/Subs-Boards.php


if (file_exists($sourcedir . '/Subs-SVG.php'))
$img_dim = @getimagesize($boarddir . '/' . $boardOptions['board_image']);
else
$img_dim = @svg_getimagesize($boarddir . '/' . $boardOptions['board_image']);


I think it should be


if (file_exists($sourcedir . '/Subs-SVG.php'))
$img_dim = @svg_getimagesize($boarddir . '/' . $boardOptions['board_image']);
else
$img_dim = @getimagesize($boarddir . '/' . $boardOptions['board_image']);


I also reported this to the mod author.

Quote from: Aleksi "Lex" Kilpinen on December 29, 2017, 08:09:53 AM
Tested this out with a fresh 2.1 beta 3

PHP message:
PHP Parse error: syntax error, unexpected ',', expecting ')' in /Sources/Subs-Boards.php on line 1329

Also, the reason I wanted to test was, to see if this bit actually works:


if (file_exists($sourcedir . '/Subs-SVG.php'))
$img_dim = @getimagesize($boarddir . '/' . $boardOptions['board_image']);
else
$img_dim = @svg_getimagesize($boarddir . '/' . $boardOptions['board_image']);


In my mind, that's backwards. Is it not?
Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

İerdogan

Ok I'll try ...Can I do I dont know ...thank you very much....
Paylaşmak Güzeldir.  Sharing İs Beautiful. 
http://www.eitasarim.com/forum [nofollow]

Aleksi "Lex" Kilpinen

If you don't need the mod right now, you can just delete it - and wait to see if the author releases a fixed version.
Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

Illori

Quote from: Aleksi "Lex" Kilpinen on December 29, 2017, 08:41:01 AM
If you don't need the mod right now, you can just delete it - and wait to see if the author releases a fixed version.


you mean uninstall it?

Aleksi "Lex" Kilpinen

Quote from: Illori on December 29, 2017, 08:44:15 AM
Quote from: Aleksi "Lex" Kilpinen on December 29, 2017, 08:41:01 AM
If you don't need the mod right now, you can just delete it - and wait to see if the author releases a fixed version.


you mean uninstall it?
Quote from: Aleksi "Lex" Kilpinen on December 29, 2017, 08:29:07 AM
I uninstalled the mod. It is bugged.

You can either remove it completely, or reinstall it and fix this part in Sources/Subs-Boards.php
Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

İerdogan

Quote from: Aleksi "Lex" Kilpinen on December 29, 2017, 08:41:01 AM
If you don't need the mod right now, you can just delete it - and wait to see if the author releases a fixed version.


Quote from: Aleksi "Lex" Kilpinen on December 29, 2017, 07:28:03 AM
Ok, I was almost right.

Replace Board Title With Image

That one is probably at fault, perhaps the installation was not perfect?
Did you get any errors while installing it?

OK...I deleted the mod......SOLVED
Paylaşmak Güzeldir.  Sharing İs Beautiful. 
http://www.eitasarim.com/forum [nofollow]

Aleksi "Lex" Kilpinen

Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

İerdogan

Paylaşmak Güzeldir.  Sharing İs Beautiful. 
http://www.eitasarim.com/forum [nofollow]

Aleksi "Lex" Kilpinen

Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

Aleksi "Lex" Kilpinen

Quote from: dougiefresh on December 29, 2017, 10:23:31 PM
Uploaded v1.2 - December 29th, 2017
o Fixed coding error that fails to properly get image sizes.
o SMF 2.1: Fixed syntax error in Sources/Subs-Boards.php.




@Aleksi "Lex" Kilpinen:  Thank you for reporting this bug!  It's been fixed in this version!

I haven't tested, but the mod is updated.
Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

İerdogan

Paylaşmak Güzeldir.  Sharing İs Beautiful. 
http://www.eitasarim.com/forum [nofollow]

Advertisement: