Greška prilikom nadogradnje

Started by udbk, January 02, 2011, 07:41:01 AM

Previous topic - Next topic

udbk

Pozdrav svima.

Pokusao sam da napravim nadogradnju foruma. Uradio sam sve kako stoji u gornjem vodicu i pojavilo mi se ovo:

Unknown column 'a.file_hash' in 'field list'
Datoteka: /var/www/virtual/dijaspora-bk.de/htdocs/forum_3/Sources/Display.php
Linija: 711

Napomena: Izgleda da vaša baza podataka možda treba noviju verziju. Datoteke vašeg foruma trenutno su verzija SMF 1.1.12, a verzija vaše baze podataka je 1.1.4. Greška koja se javlja iznad, možda će biti ispravljena ako instalirate najnoviju verziju upgrade.php.


Moze li mi neko reci sta da uradim?

Unaprijed hvala

Dzonny

Pozdrav.
Sa koje verzije smfa na koju si radio upgrade?
Koji su upgrade paket skinuo? Small ili large upgrade pack?
Imaš  neke modove? Koji je url foruma?


udbk

#3
http://dijaspora-bk.de/forum_3/index.php?action=forum [nofollow]

Evo url foruma. U vodicu pise da je svejedno sa koje verzije.

Verzija 1.0.8

Ili da vratim sve ponovo posto sam kopirao forum.

poz.

Dzonny

Sa 1.0.8 si upgrade-ovao?
Ta verzija je starija od nas zajedno :D
Koristio si large upgrade paket?
Da li ti sada forum radi kako treba?
Imaš li nešto u error logu?

udbk


udbk

Da vratim sve u prvobitno stanje, pa poslije sve postupno?

udbk

Quote from: udbk on January 02, 2011, 03:45:10 PM
Ne, ista stvar kao maloprije. :-(

Nemam nista, jednostavno nece da otvara topike.

Dzonny

Kako neće, meni učitava sve normalno?
http://dijaspora-bk.de/forum_3/index.php?topic=4934.0

Ponavljam, pogleda error log u admin panelu, i kopiraj ovde ako imaš bilo šta u njemu.
Nema potrebe da se vraćaš na staro najverovatnije, samo nam moraš dati što više podataka o problemu i pomoći ćemo ti da ga rešiš.

udbk

ucitava kada niste prijavljeni. Kada ste prijavljeni kao admin ili pod nekim drugim nikom ne ucitava.

Ovo sa log nisam razumio. Gdje da kopiram.

Dzonny

Uredu.
Udji u admin panel foruma, u sekciju "forum error log" koja se nalazi medju poslednjim opcijama sa leve strane. Potom kopirajte unose iz stranice koja se otvori ukoliko ima bilo čega.

To će nam pokazati šta pravi te greške, i pomoći će nam da ih rešimo.

Dzonny

Da li si koristio Large upgrade paket, i dalje čekam odgovor na to pitanje?
Da li si "pregazio" sve fajlove i pokrenuo upgrade.php fajl?
Jer meni izgleda kao da nisi, baza se nije apdejtovala koliko vidim :)

udbk

Quote from: Dzonny on January 02, 2011, 04:21:26 PM
Uredu.
Udji u admin panel foruma, u sekciju "forum error log" koja se nalazi medju poslednjim opcijama sa leve strane. Potom kopirajte unose iz stranice koja se otvori ukoliko ima bilo čega.

To će nam pokazati šta pravi te greške, i pomoći će nam da ih rešimo.

Apply Filter: Only show the error messages of this IP address 217.87.62.89      Apply Filter: Only show the error messages of this session d1042e58116fdd8db945a7235cb50943
Apply Filter: Only show the error messages of this URL http://dijaspora-bk.de/forum_3/index.php?action=serversettings;sesc [nofollow]
Apply Filter: Only show the errors with the same message
8: Undefined index: c_copy
Datoteka: /var/www/virtual/dijaspora-bk.de/htdocs/forum1/Themes/default/Admin.template.php (main_below sub template - eval?)
Linija: 246
   
Apply Filter: Only show the error messages of this member Admin    Today at 10:33:00 pm
Apply Filter: Only show the error messages of this IP address 93.87.253.95      Apply Filter: Only show the error messages of this session cee99e87d86f56136104333cee513ba7
Apply Filter: Only show the error messages of this URL http://dijaspora-bk.de/forum_3/index.php?topic=4934.0 [nofollow]
Apply Filter: Only show the errors with the same message
8: Undefined index: c_copy
Datoteka: /var/www/virtual/dijaspora-bk.de/htdocs/forum1/Themes/default/Errors.template.php (main_below sub template - eval?)
Linija: 246
   
Apply Filter: Only show the error messages of this member Admin    Today at 10:33:00 pm
Apply Filter: Only show the error messages of this IP address 93.87.253.95      Apply Filter: Only show the error messages of this session cee99e87d86f56136104333cee513ba7
Apply Filter: Only show the error messages of this URL http://dijaspora-bk.de/forum_3/index.php?topic=4934.0 [nofollow]
Apply Filter: Only show the errors with the same message
Greška u bazi podataka: Unknown column 'a.file_hash' in 'field list'
Datoteka: /var/www/virtual/dijaspora-bk.de/htdocs/forum_3/Sources/Display.php
Linija: 711
   
Apply Filter: Only show the error messages of this member Admin    Today at 10:33:00 pm
Apply Filter: Only show the error messages of this IP address 217.87.62.89      Apply Filter: Only show the error messages of this session d1042e58116fdd8db945a7235cb50943
Apply Filter: Only show the error messages of this URL http://dijaspora-bk.de/forum_3/index.php?action=admin [nofollow]
Apply Filter: Only show the errors with the same message
8: Undefined index: c_copy
Datoteka: /var/www/virtual/dijaspora-bk.de/htdocs/forum1/Themes/default/Admin.template.php (main_below sub template - eval?)
Linija: 246
   
Apply Filter: Only show the error messages of this member Guest    Today at 10:32:53 pm
Apply Filter: Only show the error messages of this IP address 93.87.253.95      Apply Filter: Only show the error messages of this session cee99e87d86f56136104333cee513ba7
Apply Filter: Only show the error messages of this URL http://dijaspora-bk.de/forum_3/index.php?action=login [nofollow]
Apply Filter: Only show the errors with the same message
8: Undefined index: c_copy
Datoteka: /var/www/virtual/dijaspora-bk.de/htdocs/forum1/Themes/default/Login.template.php (main_below sub template - eval?)
Linija: 246
   
Apply Filter: Only show the error messages of this member Guest    Today at 10:32:48 pm
Apply Filter: Only show the error messages of this IP address 93.87.253.95      Apply Filter: Only show the error messages of this session cee99e87d86f56136104333cee513ba7
Apply Filter: Only show the error messages of this URL http://dijaspora-bk.de/forum_3/index.php?topic=4934.0 [nofollow]
Apply Filter: Only show the errors with the same message
8: Undefined index: c_copy
Datoteka: /var/www/virtual/dijaspora-bk.de/htdocs/forum1/Themes/default/Display.template.php (main_below sub template - eval?)
Linija: 246
   
Apply Filter: Only show the error messages of this member Guest    Today at 10:32:32 pm
Apply Filter: Only show the error messages of this IP address 207.46.194.73      Apply Filter: Only show the error messages of this session 72b05e2be9602f855a8d018cf4f5067c
Apply Filter: Only show the error messages of this URL http://dijaspora-bk.de/forum_3/index.php?topic=5035.0 [nofollow]
Apply Filter: Only show the errors with the same message
8: Undefined index: c_copy
Datoteka: /var/www/virtual/dijaspora-bk.de/htdocs/forum1/Themes/default/Display.template.php (main_below sub template - eval?)
Linija: 246
   
Apply Filter: Only show the error messages of this member Guest    Today at 10:31:40 pm
Apply Filter: Only show the error messages of this IP address 66.249.66.105      Apply Filter: Only show the error messages of this session 19f43f8e63b57162ae54181d6bf6c80a
Apply Filter: Only show the error messages of this URL http://dijaspora-bk.de/forum_3/index.php?topic=4356.0 [nofollow]
Apply Filter: Only show the errors with the same message
8: Undefined index: c_copy
Datoteka: /var/www/virtual/dijaspora-bk.de/htdocs/forum1/Themes/default/Display.template.php (main_below sub template - eval?)
Linija: 246
   
Apply Filter: Only show the error messages of this member Admin    Today at 10:30:24 pm
Apply Filter: Only show the error messages of this IP address 217.87.62.89      Apply Filter: Only show the error messages of this session d1042e58116fdd8db945a7235cb50943
Apply Filter: Only show the error messages of this URL http://dijaspora-bk.de/forum_3/index.php [nofollow]
Apply Filter: Only show the errors with the same message
8: Undefined index: c_copy
Datoteka: /var/www/virtual/dijaspora-bk.de/htdocs/forum1/Themes/default/BoardIndex.template.php (main_below sub template - eval?)
Linija: 246
   
Apply Filter: Only show the error messages of this member Admin    Today at 10:29:23 pm
Apply Filter: Only show the error messages of this IP address 217.87.62.89      Apply Filter: Only show the error messages of this session d1042e58116fdd8db945a7235cb50943
Apply Filter: Only show the error messages of this URL http://dijaspora-bk.de/forum_3/index.php [nofollow]
Apply Filter: Only show the errors with the same message
8: Undefined index: c_copy
Datoteka: /var/www/virtual/dijaspora-bk.de/htdocs/forum1/Themes/default/BoardIndex.template.php (main_below sub template - eval?)
Linija: 246
   
Apply Filter: Only show the error messages of this member Admin    Today at 10:29:21 pm
Apply Filter: Only show the error messages of this IP address 217.87.62.89      Apply Filter: Only show the error messages of this session d1042e58116fdd8db945a7235cb50943
Apply Filter: Only show the error messages of this URL http://dijaspora-bk.de/forum_3/index.php?topic=5194.0 [nofollow]
Apply Filter: Only show the errors with the same message
8: Undefined index: c_copy
Datoteka: /var/www/virtual/dijaspora-bk.de/htdocs/forum1/Themes/default/Errors.template.php (main_below sub template - eval?)
Linija: 246
   
Apply Filter: Only show the error messages of this member Admin    Today at 10:29:21 pm
Apply Filter: Only show the error messages of this IP address 217.87.62.89      Apply Filter: Only show the error messages of this session d1042e58116fdd8db945a7235cb50943
Apply Filter: Only show the error messages of this URL http://dijaspora-bk.de/forum_3/index.php?topic=5194.0 [nofollow]
Apply Filter: Only show the errors with the same message
Greška u bazi podataka: Unknown column 'a.file_hash' in 'field list'
Datoteka: /var/www/virtual/dijaspora-bk.de/htdocs/forum_3/Sources/Display.php
Linija: 711
   
Apply Filter: Only show the error messages of this member Admin    Today at 10:29:16 pm
Apply Filter: Only show the error messages of this IP address 217.87.62.89      Apply Filter: Only show the error messages of this session d1042e58116fdd8db945a7235cb50943
Apply Filter: Only show the error messages of this URL http://dijaspora-bk.de/forum_3/index.php?action=who [nofollow]
Apply Filter: Only show the errors with the same message
8: Undefined index: c_copy
Datoteka: /var/www/virtual/dijaspora-bk.de/htdocs/forum1/Themes/default/languages/Who.croatian-utf8.php (main_below sub template - eval?)
Linija: 246
   
Apply Filter: Only show the error messages of this member Admin    Today at 10:29:06 pm
Apply Filter: Only show the error messages of this IP address 217.87.62.89      Apply Filter: Only show the error messages of this session d1042e58116fdd8db945a7235cb50943
Apply Filter: Only show the error messages of this URL http://dijaspora-bk.de/forum_3/index.php [nofollow]
Apply Filter: Only show the errors with the same message
8: Undefined index: c_copy
Datoteka: /var/www/virtual/dijaspora-bk.de/htdocs/forum1/Themes/default/BoardIndex.template.php (main_below sub template - eval?)
Linija: 246
   
Apply Filter: Only show the error messages of this member Admin    Today at 10:28:44 pm
Apply Filter: Only show the error messages of this IP address 217.87.62.89      Apply Filter: Only show the error messages of this session d1042e58116fdd8db945a7235cb50943
Apply Filter: Only show the error messages of this URL http://dijaspora-bk.de/forum_3/index.php?action=reports [nofollow]
Apply Filter: Only show the errors with the same message
8: Undefined index: c_copy
Datoteka: /var/www/virtual/dijaspora-bk.de/htdocs/forum1/Themes/default/Admin.template.php (main_below sub template - eval?)
Linija: 246
Check all


Ovo sam nasao tamo.

udbk

Quote from: Dzonny on January 02, 2011, 04:25:58 PM
Da li si koristio Large upgrade paket, i dalje čekam odgovor na to pitanje?
Da li si "pregazio" sve fajlove i pokrenuo upgrade.php fajl?
Jer meni izgleda kao da nisi, baza se nije apdejtovala koliko vidim :)

Neznam koji sam paket koristio  ni da li sam sve "pregazio" sto je za gazenje. Nemam ja bas mnogo iskustva sa ovim. :-(

Dzonny

Ok, ovako.
(pre svega, ako nemaš backup napravi ga, a ako imaš od ranije samo ga sačuvaj negde po strani)
Najpre, skini large upgrade paket:
http://download.simplemachines.org/index.php?thanks;filename=smf_1-1-12_upgrade.tar.bz2
Kada skineš, extraktuj ga na računaru.
Konektuj se na ftp server preko nekog klijenta i uploaduj sve fajlove iz paketa koje si skinuo u root foruma, tj u tvom slučaju u folder forum_3. Pritom, moraš "pregaziti" sve fajlove, tj overwrite-ovati ih :)
Kada se upload završi idi na adresu:
http://dijaspora-bk.de/forum_3/upgrade.php i prati korake koje dobiješ :)
Ovim će ti svi modovi biti izbrisani, kao i teme, ali će ti forum biti ažuriran na poslednju verziju, i biće funkcionalan (ako sve prodje kako treba).
Naravno, ovo je sve ovako jer si koristio totalno zastarelu verziju smfa, to si trebao redovno ažurirati i sve bi bilo uredu...

Ukoliko slučajno opet dobiješ neki error, kopiraj ga ovde.

udbk

Hvala, idem u akciju. 8)

Ako nsto iskrsne, eto me ponovo.

Dzonny

Nema problema, slobodno pitaj, tu smo da pomognemo. :)

udbk

Hvala, upalilo je. Sad je sve OK.

Samo mi se smailovi ne pojavljuju. Nisu ni u ranijoj verziji.

St da uradim da se ponovo vide?

Pozdrav i jos jednom hvala na pomoci.

Dzonny

Super :)
Kako i dalje imaš ovu temu na forumu? :s
Ajde udji opet u error log na forumu, i isprazni ga (imaš opciju da izbrišeš sve unose)
Kada to uradiš malo "prošvrljaj" po forumu, učitaj par tema, i na kraju napiši neki post sa smejlijem, pa se opet vrati u error log, i kopiraj nam greške koje imaš.

udbk

Primjeni Filter: Prikaži poruke o greškama samo ovog člana Admin    Januar 02, 2011, 11:58:41 pm
Primjeni Filter: Prikaži poruke o greškama samo s ove IP adrese 217.87.62.89      Primjeni Filter: Prikaži poruke o greškama samo s ove sjednice 8d1af725733f70cf8bd491d682db2006
Primjeni Filter: Prikaži poruke o greškama samo s ovog URLa http://dijaspora-bk.de/forum_3/index.php?action=modlog [nofollow]
Primjeni Filter: Prikaži poruke o greškama samo kod istih poruka
8: Undefined index: c_copy
Datoteka: /var/www/virtual/dijaspora-bk.de/htdocs/forum1/Themes/default/Admin.template.php (main_below sub template - eval?)
Linija: 246
   
Primjeni Filter: Prikaži poruke o greškama samo ovog člana Admin    Januar 02, 2011, 11:58:34 pm
Primjeni Filter: Prikaži poruke o greškama samo s ove IP adrese 217.87.62.89      Primjeni Filter: Prikaži poruke o greškama samo s ove sjednice 8d1af725733f70cf8bd491d682db2006
Primjeni Filter: Prikaži poruke o greškama samo s ovog URLa http://dijaspora-bk.de/forum_3/index.php?action=modlog [nofollow]
Primjeni Filter: Prikaži poruke o greškama samo kod istih poruka
8: Undefined index: c_copy
Datoteka: /var/www/virtual/dijaspora-bk.de/htdocs/forum1/Themes/default/Admin.template.php (main_below sub template - eval?)
Linija: 246
   
Primjeni Filter: Prikaži poruke o greškama samo ovog člana Admin    Januar 02, 2011, 11:58:30 pm
Primjeni Filter: Prikaži poruke o greškama samo s ove IP adrese 217.87.62.89      Primjeni Filter: Prikaži poruke o greškama samo s ove sjednice 8d1af725733f70cf8bd491d682db2006
Primjeni Filter: Prikaži poruke o greškama samo s ovog URLa http://dijaspora-bk.de/forum_3/index.php?action=viewErrorLog;desc [nofollow]


Evo, ovo sam nasao. :-(

Dzonny

Pošalji mi podatke za admina na pp, da pogledam.

udbk


Madzgo

Smajliji mozda nisu na pravom mjestu.. Desni klik->Image info, pogledaj odakle vuce slicicu, i provjeri ima li ih tamo..

Dzonny

Sređeno je, bila pogrešna putanja do smejlija :D

ramook

#24
Takodjer imam gresku prilikom downloada paketa iako uzmem paket koji pase mojoj verziji pojavljuje se ovo

moja verzija je 1.1.12
hocu da ubacim standardni shoutbox ali neda mi

grix

Pozdrav svima,

nisam htio da otvaram novu temu za isti problem...hti bih nadograditi trenutnu verziju 1.1.11 na noviju 1.1.12.Javlja i neke greške???

Zapamtite da uvijek trebate raditi redovne pričuvne kopije baze podataka prije instaliranja modova, pogotovo u beta verzijama.

!!
Greška u instalaciji paketa
Došlo je do najmanje jedne greške prilikom test instalacije ovog paketa. Preporučamo vam da ne nastavljate s instalacijom osim ako ste sigurni da znate što radite, i ako ste nedavno napravili backup. Uzrok ove greške možda je konflikt između paketa kojeg pokušavate instalirati i paketa kojeg ste već instalirali, greška u paketu, paket koji treba drugi paket kojeg još niste instalirali, ili paket namijenjen drugoj SMF verziji.
Upute za instalaciju
This patch file will update your forum to SMF 1.1.12.

Instalacijske Akcije
Instalacija za "SMF 1.0.20 / 1.1.12 Update":
Instalacija ovog paketa uzrokovati će slijedeće:
   Tip    Akcija    Opis
1.    Primjeni    ./index.php    Uspješno
2.    Primjeni    ./Sources/DumpDatabase.php    Uspješno
3.    Primjeni    ./Sources/ManageSearch.php    Uspješno
4.    Primjeni    ./Sources/ManageSmileys.php    Neuspješno
5.    Primjeni    ./Sources/News.php    Uspješno
6.    Primjeni    ./Sources/PackageGet.php    Neuspješno
7.    Primjeni    ./Sources/Subs-Package.php    Uspješno
8.    Primjeni    ./Themes/babylon/Display.template.php    Uspješno
9.    Primjeni    ./Themes/classic/Display.template.php    Neuspješno
10.    Primjeni    ./Themes/default/Admin.template.php    Uspješno
11.    Primjeni    ./Themes/default/Display.template.php    Uspješno


Može li mi netko pomoći, šta da radim?
Koristim custom temu DilberMC

Dzonny

Prvo ručno promeni te fajlove koji nisu prošli test pomoću ovoga:
http://custom.simplemachines.org/upgrades/index.php?action=upgrade;file=smf_patch_1.0.20_1.1.12.tar.gz;smf_version=1.1.11

Kada to uradiš, obavi upgrade iako su te greške tu, a onda uploaduj fajlove koje si izmenio.
Pre svega toga uradi backup SVIH fajlova koji se edituju prilikom nadogradnje.

grix

Provider je napravi backup.

Znači nađem te fajlove, vjerojatno u custom temi i izmjenim po onom tutorijalu?

Dzonny

Da, dakle tebi trebaju:
./Sources/ManageSmileys.php
./Sources/PackageGet.php
./Themes/classic/Display.template.php - Ovaj ti je ustvari nebitan, jer ne koristiš classic temu, tako da ga preskoči, ali zato promeni Display.template iz dilbermc teme.

grix

Počeo sam da mijenjam i nešto nije u redu.Npr. u  ./Sources/ManageSmileys.php treba m izmijeniti ovo:* Software Version:           SMF 1.1.11                                          *

a u mojem filu toga nema već ovo: * Software Version:           SMF 1.1.1                                           *

razlika je u jednoj znamenci...isto tako imam problem i sa ostalim stvarima koje trebam izmjeniti.

grix

./Sources/PackageGet.php - ovdje mi traži da promijenim v.1.1.11 u 1.1.12 ,  a file je verzija 1.1.9 ???
Ništa ne razumijem  :-\

Dzonny

Izvrši slobodne te promene kad je u pitanju verzija
Znači stavi 1.1.12 gde god ti imaš 1.1.x
Tvoja verzija fajla je starija, ali ti podaci u svakom slučaju nisu od presudne važnosti za update.

grix

Ne funkcionira  >:(

Da li bi mi netko učinio uslugu da to napravi? Pošaljem mu 3 fila  O:)

Dzonny

Prikači fajlove koji prave problem.

grix


Dzonny


grix

Krivi sam file zakačio...ovaj display.template je od custom teme, a u dilberMc nema fila pod tim imenom  :-\

Madzgo


grix

#38
Quote
./Themes/classic/Display.template.php - Ovaj ti je ustvari nebitan, jer ne koristiš classic temu, tako da ga preskoči, ali zato promeni Display.template iz dilbermc teme.

U forumu javlja grešku u tom display.template...

Dzonny

11.    Primjeni    ./Themes/default/Display.template.php    Uspješno
U tom slučaju ne trebaš uploadovati ovaj koji sam ja stavio, dakle samo ostavi display kakav jeste, posle intalacije u admin panelu (sve je prošlo uspešno)

grix

Ja sam mislio na ovo:

9.    Primjeni    ./Themes/classic/Display.template.php    Neuspješno

Dzonny

To je classic tema, i ako je ne koristiš i ne mora da bude uspešno, neće uticati na rad foruma.

grix

Dzonny car  8)

Updateo sam forum i sve radi iako nisam vratio ručno modificirane file-ove.
Ima brdo zastarjelih verzija...trebali to da me brine?

SMF datoteka                Vaša Verzija   Trenutna Verzija
SMF paket                  SMF 1.1.12   SMF 1.1.12
Izvori                                   1.1.7   1.1.12
BoardIndex.php                      1.1   1.1.11
Load.php                                   1.1.9   1.1.11
ManageAttachments.php           1.1.10   1.1.11
ManageCalendar.php                 1.1   1.1.11
ManageMembers.php              1.1.6   1.1.11
ManagePermissions.php              1.1.5   1.1.11
ManageSmileys.php                      1.1.1   1.1.12
Modlog.php                                 1.1   1.1.11
PackageGet.php                      1.1.9   1.1.12
Packages.php                            1.1.10   1.1.11
Poll.php                                         1.1   1.1.11
Post.php                                    1.1.10   1.1.11
Profile.php                            1.1.10   1.1.11
SplitTopics.php                              1.1.6   1.1.11
Subs-Auth.php                            1.1.10   1.1.11
Subs-Boards.php                      1.1.5   1.1.11
Subs-Graphics.php                      1.1.9   1.1.11
Subs.php                                      1.1.9   1.1.11
Themes.php                              1.1.7   1.1.11

Primarni Predlošci                        1.1   1.1.12
Packages.template.php             1.1.8   1.1.11
SplitTopics.template.php                1.1   1.1.11

Dzonny

Ako sve radi kako treba, bez brige, neki fajlovii nisu uopšte menjani u nekoliko zakrpa, pa zato se vode kao "zastareli", ali su zapravo isti takvi i novi fajlovi iz sveže instalacije.

grix

Da li da zamjenim stare ovim novima koje si ti prepravio ili da ostavim kako jesu sada...pošto forum normalno funkcionira?

Dzonny

Da li imaš nešto u error logu?
Prvo sačuvaj originalne fajlove negde u računaru, a onda zameni ona dva fajla, ali nemoj Display.template.php

grix

U evidenciji grešaka ima puno, ali kad odaberem opciju: nađi i popravi greške, kaže da nema grešaka

Dzonny

Uradi kao što sam rekao, ali prvo uradi backup. A te greške iz error loga bi trebao popravljati jednu po jednu.

grix

Napravio sam sve kako si napisao...za sad sve radi  8)

Hvala Dzonny


Advertisement: