News:

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

Main Menu

Cookies not lasting / quote problem / various problems

Started by solitario, November 18, 2004, 01:20:03 AM

Previous topic - Next topic

solitario

Hello all.
I'm developing a site with SMF (very nice), but the forum is not creating a cookie. I checked my temporary internet folder, so I can tell there is no cookie, and every time I close the browser window I have to log in again.
Btw, I'm testing this through localhost, not an on-line host.
Anybody know what I'm doing wrong?
Thanks

solitario

#1
Hello all.
When clicking the "quote" link in order to start a Quick Reply, the pop-up window appears with the words "Retrieving Quote..." But nothing happens.
I think I may have taken out an integral javascript on the template page.
Does anyone know how I can fix this? Or should I just start over?
Thanks



Moderator-edit: subject clarified

andrea

Link to your forum and to your phpinfo?

Andrea Hubacher
Ex Lead Support Specialist
www.simplemachines.org

Personal Signature:
Most recent work:
10 Aqua Themes for SMF



solitario

Quote from: andrea on November 18, 2004, 01:34:17 AMLink to your forum and to your phpinfo?
Sorry, andrea. I'm developing this site off-line. Perhaps that is the reason why. I'm developing other sites, so the different forums are probably overwriting the localhost cookie. But thanks. :)

solitario

I spoke too soon. I see what I was doing:

I had moved the script.js file to a folder called /css/.
Around line 1547 in Post.php the code requests the default_theme_url ( $settings['default_theme_url'] ).
I replaced that accordingly and it works, if anyone is interested.

Advertisement: