SMF Support > SMF 1.1.x Support

SMF 1.1.15 and 16 broken poll, disable polls -> polled topics not show in board

<< < (3/4) > >>

richardwbb:
Found it!

My best guess is that provider is blocking PHP to let it set group permissions, but there is probably a better description for this.

I was able to run in to problems with installing mods on my Linux server too. Further inspecting I learned several things, that mods need a chmod 777 temp dir in Packages which gets deleted and has to be written manually again and that for the little mods I was using, I had to run chmod -R g+rw on both the Sources and Packages dir.

What made me searching for almost ever was, first, inheriting an existing forum, then a ISP support guy only willing to tell me it was a file rights issue, which is a bit oldskool, for a simple script.

Then I always believed, since I can chmod all files for group write permissions one by one, with FTP, also granting SMF FTP access, which tells me it has to set files file rights, I was convinced SMF was right on this, but in fact, it doesn't set the required file permissions.

So, my mods including template eval mod, installed find on my Linux server BUT I have to run a script similar to this, *before* every installation of a mod:

---

echo "Setting /var/www/forum to group www-data"
chgrp -R www-data /var/www/forum

echo "Attempting to create temp directory for SMF Packages."
mkdir /var/www/forum/Packages/temp
chmod 777 /var/www/forum/Packages/temp

echo "Setting all files in Themes and Sources directories to g+rw."
echo ""
echo "Sources..."
chmod -R g+rw /var/www/forum/Sources

echo ""
echo "Themes..."
chmod -R g+rw /var/www/forum/Themes

---

That doesn't make sense!

I am sorry, I am not able to look in the eval'd template error (which the title of this topic is describing) anymore.

Personally I am glad after a lot of trouble, learning that it is not about owner file rights, but group file rights, however the 'annoying' enter FTP credentials here which SMF is asking also dissapeared on my Linux server and it all worked a lot better already, but still I had to execute a small script shown above.

Now I know how to move everything to the live forum.

I learned that I indeed lost all the mods :( (it only are two for me hehehe ;))

But, I was wondering, what template is best to use? I want to keep the look and feel of the old template (smf_arobase_up) but a Curve theme of 900 files and even the babylon theme, still 300 files, with a whopping 54kb css to edit,

I wonder, can I have a template somehow, download, or create myself, keeping alle the meny stuff and script intact, while everything else is just printed on screen?

Iam about to write my own template here, looking for the bare essentials.

besides the template, I was able to make the leap to 2.x -thanks a bunch all!!-

JimM:
If this is solved, please mark it solved by clicking the Mark Topic Solved link at the bottom left.

richardwbb:
Hi Jim, it is fair indeed to mark this as solved.

I understand the ftp connection SMF makes a lot better now, if it is asking for FTP info, this means SMF has detected the file read, write and execute rights. It also means, continuening install will give problems later on, I never understood the FTP before, it uses group rights I learned.

However, the polls never worked in full before I became site-admin so it could be anything. Also, I am doing my best to get 2.0.2 going, then I'll test the poll again, with the ISP and my local Linux server to rule out the ISP

Thanks.

K@:
Glad you got it sorted, Rich!

But of a headscratcher, wasn't it?

richardwbb:
Hi man,

It sure is, and this was just a part of it. I learned that SMF itself is not bloated and very robust, and am amazed on what can go 'wrong', I do read this forum and know how to search, ask and test, it still is a huge thing to learn, where I just learned how the packaging system works and what can and can not be done.

For example, I still am trial and erroring the themes stuff and only recently learned that everything defaults to core, or is it curve and how to copy and paste things together to get something decent.

I feel I will make it soon. (the upgrading to 2.0.2, keeping the outdated template, keeping the anti bot and language flag, keeping the special chars intact).

Good to know the disable template eval is a standard now, not sure what I can do with it, but it sure was helpful aready to me.

Regards,
richard

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version