Тема: Код безопасности
I install Strawberry 1.2.0 beta 3 but cant acces to admin panel. I don see kод безопасности

СРБИЈА
Вы не вошли. Пожалуйста, войдите или зарегистрируйтесь.
Чтобы отправить ответ, вы должны войти или зарегистрироваться
I install Strawberry 1.2.0 beta 3 but cant acces to admin panel. I don see kод безопасности

You install the script in the root folder of your site?
Your server supports GD2 Library?
1 - Yes
2 - I will check that
1 час, 32 минуты и 9 секунд спустя:
Yes, my server supports GD2 Library
You use opera? This problem is known in the opera ... While I do not know what could be a problem ...
Hmm... strange ))) can you see capcha in demo site (http://www.strawberry.mgcorp.ru/)?
Yes, i see capcha in demo site.
Can i switch off capcha?
Отредактировано jasamja (05 Sep 2010 22:11:09)
Yes? you can in settings.
But don`t use this version in ready site? please - it is only testing version ))
Ok, i will wait for full verison and hope that will be soon, but now i want to test Strawberry on my site.
How i can switch off capcha in settings, which file?
17 часов, 28 минут и 24 секунды спустя:
Its ok, i found it ![]()
But now i cant login with username demo i password demo. In database i have that user
Отредактировано jasamja (07 Sep 2010 17:49:05)
Demo Account - only on my demo site there)) And in the beta 3, you create an administrator during the installation process. These are the chips)
But you can prescribe in the admin directly in the database ...
Since beta 3, I have a lot of changes introduced in the draft ...
I have this error when save some changes in admin panel:
Warning: fopen(/home/xxx/public_html/system/data/db/rule.txt) [function.fopen]: failed to open stream: Permission denied in /home/xxx/public_html/system/inc/functions.inc.php on line 2324
Warning: fwrite(): supplied argument is not a valid stream resource in /home/xxx/public_html/system/inc/functions.inc.php on line 2325
Warning: fclose(): supplied argument is not a valid stream resource in /home/xxx/public_html/system/inc/functions.inc.php on line 2327
and this whenn add news (i cant add news):
Warning: fwrite(): supplied argument is not a valid stream resource in /home/xxx/public_html/system/inc/functions.inc.php on line 3033
Отредактировано jasamja (07 Sep 2010 20:11:47)
After installation, you went to system settings? You decide to go there (Admin module) and save the settings. The fact is that the installer I did not include all the variables for the settings, so they're not ... but with the new settings are saved through the admin panel again they added ...
Ok, but when will be finished this version and when i will able to use strawsberry on my site?
I found many bugs, like:
- cant save my profil information on site (work only on admin panel)
- cant add news
- i changed my avatar, but in comments and guestbook stell remain default avatar
Yes. These problems are also known to me and have already been eliminated. 3 beta was a pilot. Beta 2 - is more stable) you can try it.
I try to improve the system kernel, so all the external detail must pass.
Ok, i now use v2 and no have problem yet
1 - Is strawsberry been on english soon?
2 - How i can change name of days and months in news and comments from russian to english?
3 - How to insert login box from your default index page on my index page?
Отредактировано jasamja (10 Sep 2010 13:03:11)
1 - i try for beta 4
2 - select en lang in settings. There are land whith translate for date and time.
3 - echo lform();
Ok, thanky you.
I dont have any problem expect with comments. I cant add comemnt if use my index.php. I write some text, but nothing is happening when i click on button.
Where is file/files where i can change design your index.php?
Which design do you mean? and which file?
In beta 2 files site design are in the folder system/skins/themes /
I know very good original cutenews, strawsberry is more complicated, not all, but i have some little problems. Like this problem with template.
On your default template on index.tpl you have something like {down-block} {up-block} {logo-title} {modules} ....
Where i can found file to edit those code, can you little to explain me how it work and what is differents in regards to original cutenews?
And most important question, how to show 2 templates on index.php? One for top news and another for other news
Отредактировано jasamja (11 Sep 2010 12:36:56)
I have not studied the original cutenews, so the analogy does not spend. I studied strawberry 1.1.1.
You can use the blocks. blocks are shown on the left, right, center top and bottom of the body module potsentru body module (more precisely above and below the module).
Ok, but can i display my news like on image below (2 or more templates on one page)

You can write your own module, where the news will be displayed as you want) Provided that you have a thorough understanding of PHP.
Ok, thank you. I know now. Just tell me this:
How to display only one full story. When i go to full story they show me 2 full story from 2 templates. I try to use $static = true but then they show me full story and short story. Can i display only one template in full story and hide other template?
Отредактировано jasamja (12 Sep 2010 16:02:24)
Construction $ static = true is not used in this version of the engine.
Go to the template and see that there are variables $ tpl [post] [short] and $ tpl [post] [full]
active.tpl - for short news. full.tpl - for the full news. How to handle a variable I think you will understand. Explore the modules and components of the set - some things will be clearer ...
I understand that and dont have problem with templates.
I have problem with this:
<?
$number = 6;
$category = '1';
$template = 'news';
include root_directory."/show_news.php";
?>
<?
$number = 2;
$category = '1';
$template = 'headlines';
include root_directory."/show_news.php";
?>With this code i show news from 2 templates on index.php. Only problem is when i click on tittle and go to full story then i have displayed full story text from both templates.
Отредактировано jasamja (12 Sep 2010 17:27:48)
Чтобы отправить ответ, вы должны войти или зарегистрироваться