News:

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

Main Menu

Content Management System

Started by atokar, December 15, 2009, 07:08:20 PM

Previous topic - Next topic

Arantor

They won't update beyond PHP 4.4.9 which stopped receiving updates, bugfixes and security patches in December 2007? Might want to consider finding yourself a new host.

As for the other issue, I really hope the mod's author can explain how to fix that because I can't remember how to :(
Holder of controversial views, all of which my own.


Jirsh

Should I start a new topic in regards to editing the menu manually?

Arantor

No, here's the right place because it's not the regular menu you're editing.
Holder of controversial views, all of which my own.


Jirsh

Well i uninstalled CMS since its not going to work 100% so now I just want to edit the menu manually to make this happen

Arantor

In which case that's back to the code we talked about earlier in Subs.php.
Holder of controversial views, all of which my own.


Jirsh

when i tried that I got a parse error

Arantor

So modify the file, get the parse error then post the file, here, with the error.
Holder of controversial views, all of which my own.


Jirsh

Subs.php attached.

Parse error: syntax error, unexpected ';', expecting ')' in /hsphere/local/home/xxx/xxx.com/smf2/Sources/Subs.php on line 4605

Arantor

What buttons are there supposed to be? There's a lot of duplicate code and it's all messed up with spaces instead of tabs (meaning that I'll need to go through the couple of hundred lines to fix it anyway so you can install mods later.
Holder of controversial views, all of which my own.


Jirsh

here is the backup of the original

Arantor

OK, I'll try and look at that later, might be a while as I have other stuff to do, and I'm gonna nudge the mod's author one more time to see if they can help.
Holder of controversial views, all of which my own.


Jirsh


Mave

 :'(
when i install the mod the htaccess file dont copie to root, i do it manually and then
Error 403
You don't have permission to access /index.php on this server.

any idea?
then vor testing i delete the file.

okay fine
i can administrate mod
make a custom page php
it was create in cms/pages i see per ftp
but i cant view it, by use the viewbutton
then i get

error 404
The requested URL /page/ueber was not found on this server.

what is the problem and how to fix it?
Please help

luismanson

try YOU-SITE/index.php?action=cms;page=ueber
if it works, you need to add a line to your actual .htaccess

Mave

Quote from: luismanson on April 16, 2010, 03:39:55 PM
try YOU-SITE/index.php?action=cms;page=ueber
if it works, you need to add a line to your actual .htaccess
Yes its work,
what line should i insert?

Mave

 :o
another problem  :(

when i user my chat button code from sub.php

'chat' => array(

            'title' => $chatButton,

            'href' => $chatLink,

            'show' => true,

            'sub_buttons' => array(

            ),

        ),


i get this

QuoteNotice: Use of undefined constant CMS_DIR - assumed 'CMS_DIR' in /var/www/web103/html/smf2/Sources/Subs.php on line 4167

Notice: Use of undefined constant MENU_CACHE_FILE - assumed 'MENU_CACHE_FILE' in /var/www/web103/html/smf2/Sources/Subs.php on line 4167

Warning: require_once() [function.require-once]: Unable to access /var/www/web103/html/smf2/CMS_DIR/MENU_CACHE_FILE in /var/www/web103/html/smf2/Sources/Subs.php on line 4167

Warning: require_once(/var/www/web103/html/smf2/CMS_DIR/MENU_CACHE_FILE) [function.require-once]: failed to open stream: No such file or directory in /var/www/web103/html/smf2/Sources/Subs.php on line 4167

Fatal error: require_once() [function.require]: Failed opening required '/var/www/web103/html/smf2/CMS_DIR/MENU_CACHE_FILE' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/web103/html/smf2/Sources/Subs.php on line 4167

luismanson

Quote from: Mave on April 17, 2010, 04:07:15 AM
Quote from: luismanson on April 16, 2010, 03:39:55 PM
try YOU-SITE/index.php?action=cms;page=ueber
if it works, you need to add a line to your actual .htaccess
Yes its work,
what line should i insert?

the line with rawriterule you can see in the file from this mod, add it to your actual htaccess, within the actions area..
like:

with prettyurls mod, mine is like

RewriteRule ^(unreadreplies|verificationcode|viewprofile|vote|viewquery|viewsmfile|who|\.xml)/?$ ./index.php?pretty;action=$1 [L,QSA]
RewriteRule ^(xmlhttp|facebook)/?$ ./index.php?pretty;action=$1 [L,QSA]
RewriteRule ^page/([a-zA-Z0-9_-]*) ./index.php?action=cms;page=$1
# Rules for: boards


Mave

Okay next  :(

After install the mod
in posts
- no qoute from other replay
- no toogle view

i deinstall the mod
its run

can anybody confirm it?

sander76

Attached a Dutch translation to add manually to Modifications.dutch.php

kaib0rg

After installing the mod (no test failures), the Admin section of the forum no longer works (points to a 404).  I have pretty URLs installed so it should be http://site/admin.  when i do http://floasis.net/smf/index.php?action=admin [nofollow] it works.  i'd like to simply uninstall the CMS mod, but i can't navigate to it because all of my links inside of my admin section are mapped using Pretty URL.

help to uninstall?

Advertisement: