11
dream77
Re: please help, error code
  • 2006/8/1 18:39

  • dream77

  • Just popping in

  • Posts: 72

  • Since: 2005/7/24


xoops: 2.13.2

yes, I have tryed to acces admin with my site/admin.php

The error occured after I deleted files from template_c folder, I did that because I could not acces my site at all, the pages where all blank. Now I can access the page, but I can not log in to the admin part in xoops. I have not edit anything, before the pages where blank, I did not edit anything either.



If you need any more info, just ask.

Regards
Martin



12
dream77
please help, error code
  • 2006/8/1 9:37

  • dream77

  • Just popping in

  • Posts: 72

  • Since: 2005/7/24


Hi, i can not login in to my site, I get this error code.


Parse error: syntax error, unexpected T_STRING in /home/stawe269/public_html/xoops/cache/adminmenu.php on line 4

please help, the first lines of that php looks like this.

<?php
$xoops_admin_menu_js = "function popUpL1() {
shutdown();
popUp("L1",true);
}
function popUpL16() {
shutdown();
popUp("L16",true);
}
function popUpL20() {
shutdown();
popUp("L20",true);
}
function popUpL26() {
shutdown();
popUp("L26",true);
}
function popUpL30() {
shutdown();
popUp("L30",true);
}
function popUpL36() {
shutdown();
popUp("L36",true);
}

Anyone knows what is wrong?



13
dream77
Re: template_c
  • 2006/7/24 13:23

  • dream77

  • Just popping in

  • Posts: 72

  • Since: 2005/7/24


now I am confused, can I delete or not, after I have deleted them, shall i rebuild the, and in that case, how do I do that? The reason I ask is because I had this error code

Parse error: syntax error, unexpected $end in /home/stawe269/public_html/xoops/templates_c/%%85^855^8553C845%%db%3Amultimenu_block_01.html.php on line 37

After deleting that, I got a new one from the same place, (the template_c folder.) The pages where all blank so that is why I Deleted them, after that my pages worked.

Would it be better to edit the files that are wrong, and what shall I type? In other words I am confused what to do, please help.



14
dream77
template_c
  • 2006/7/24 9:22

  • dream77

  • Just popping in

  • Posts: 72

  • Since: 2005/7/24


Can you delete all the files in this folder, accept the index, and the htacess file. I meen all the ones with strange names like %%%855 and so on. Is that just temp files for XOOPS modules? Does they have any value apart from being temp files to load things faster?

I have XOOPS version 2.13.2



15
dream77
Re: please help with this error code
  • 2006/7/23 23:06

  • dream77

  • Just popping in

  • Posts: 72

  • Since: 2005/7/24


I have XOOPS version 2.13.2

Shall I delete all the files, or just that one?

What kind of files is it, temp files?



16
dream77
please help with this error code
  • 2006/7/23 21:29

  • dream77

  • Just popping in

  • Posts: 72

  • Since: 2005/7/24


Parse error: syntax error, unexpected $end in /home/stawe269/public_html/xoops/templates_c/%%85^855^8553C845%%db%3Amultimenu_block_01.html.php on line 37

I do not know what to edit, and how. I can not get in to XOOPS and the pages are not showing, i am onley getting this error message. Please help.

Server: linux
kernel: 2.6.17.6hg
php: 4.4.2
Mysql: 4.1.19-standard

Need any more info, just ask.

Thanks



17
dream77
restrict users disk space
  • 2006/1/9 16:39

  • dream77

  • Just popping in

  • Posts: 72

  • Since: 2005/7/24


How do I restrict a users diskspace so he/she cannot use more then I decide? Is this possible to make within xoops, or shall I restrict it somwhere else? If that is the case where do I edit that?



18
dream77
Re: multimenu
  • 2006/1/6 19:33

  • dream77

  • Just popping in

  • Posts: 72

  • Since: 2005/7/24


Haha, I finaly found gizmhail, or maybe you can say he found me. That was really funny, I am laughing, haha!

Thank you for the link and the edeting of multimenue.


Martin



19
dream77
Re: Paypal Shop/Mall?
  • 2006/1/6 19:24

  • dream77

  • Just popping in

  • Posts: 72

  • Since: 2005/7/24


A paypal Shop/Mall module that you described making it possible for user to post there own products for sale. That would realy be a cool module. And if there were an option for the admin the take a small % of each sold products that would also be a very usefull feature.

To bad I do not no anything about coding, but someone else might and can make this happen.



20
dream77
Re: multimenu
  • 2005/12/31 13:54

  • dream77

  • Just popping in

  • Posts: 72

  • Since: 2005/7/24


But then I will have two blocks, and that is not god, I onley whant to show one block. It would look strange with a block with just one link. But Maybe I misunderstood you?

I found this solution, but I do not get it. Unfortenley I could not register to post at that time and ask, maybe someone her understand it.

"In the gizmhail version of block.php"
I do not find any gizmhail at all, and in block.php I do not find the lines they talk about.

Please help me if you can.

Re: sublinks open all at once

in the gizmhail version of block.php:
1/ replace the first addition by:
/*
Twins addition : dynamic sub-menu hack
*/

$opengroupheadermenu = -1;
$sql = "SELECT pid ,link
FROM ".$xoopsDB->prefix('multimenu').$options[13]."
WHERE hide = 1
ORDER BY ".$options[3];
$result = $xoopsDB->queryF($sql ,$randlimit ,$rand);
while ( $myrow = $xoopsDB->fetchArray($result) ) {

$isCurrent = substr_count($_SERVER['REQUEST_URI'], $myrow['link']);

if ($isCurrent>0)
{
$opengroupheadermenu = $myrow['pid'];
}
}
/*
End of the addition
*/

2/ remove the second addition

3/ find the line (just above the second addition):
"&& ( $myrow['submenu'] == 1 || $myrow['submenu'] == 2 ) "

4/ add the condition (add a line above the line found at 3/:
&& ($myrow['pid']==$opengroupheadermenu) // Twins addition : dynamic sub-menu hack

This solution have a small restriction:You have to use relative paths in the links of your multimenu, if you do not, it will not work.

Sorry, no comments in my code. If you understand anything to php, you will quickly see why it is better; if you do not, i think you even don't care about that

Thank you guys for the Multimenu mod, it's really great!!




TopTop
« 1 (2) 3 4 5 ... 8 »



Login

Who's Online

229 user(s) are online (144 user(s) are browsing Support Forums)


Members: 0


Guests: 229


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits